what is wrong with this: (getting the same error message) <gd:phoneNumber label="phone1" primary="1" rel="http:// schemas.google.com/g/2005#home">2683549001 ext GMAIL</gd:phoneNumber>
On Oct 2, 9:59 am, "Julian (Google)" <[email protected]> wrote: > Hi, > > You are missing the rel value, for example: > > <gd:phoneNumber rel='http://schemas.google.com/g/2005#home'> > +15601331</gd:phoneNumber> > <gd:phoneNumber rel='http://schemas.google.com/g/2005#mobile'> > +50695303</gd:phoneNumber> > > You can find all the possible rel values > here:http://code.google.com/apis/gdata/docs/1.0/elements.html#gdPhoneNumber > > Cheers, > Julian > > On Oct 1, 11:52 pm, TearsForNations <[email protected]> wrote: > > > Expected response code 200, got 400 > > Exactly one of non-empty rel, label is required for phone number.<?xml > > version="1.0"?> > > > <atom:entry xmlns:atom="http://www.w3.org/2005/Atom" xmlns:gd="http:// > > schemas.google.com/g/2005"> > > <gd:name> > > <gd:fullName>John Doe</gd:fullName> > > </gd:name> > > <gd:phoneNumber label="phone1" primary="1">555-1212</gd:phoneNumber> > > <gd:phoneNumber label="mobile" rel="http://schemas.google.com/g/ > > 2005#mobile">777-1212</gd:phoneNumber> > > </atom:entry> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Contacts API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-contacts-api?hl=en -~----------~----~----~----~------~----~------~--~---
