In <gContact:groupMembershipInfo> you have to mention the <href> of the group, unless you provide that info, it won't add to any particular group, by default the server will add that contact to othercontacts.
I don't think unless you have the group id, you can add the contacts to any group. -- Regards, Satish Bellapu On Thu, Jun 30, 2011 at 7:08 PM, chrdesl <[email protected]> wrote: > Hi, > > i'm trying to *create a contact* and* add it to the system group: > mycontacts* using *api v3 (protocol)* without retrieving and updating the > contact*. Please help! Thx.* > > <atom:entry xmlns:atom='http://www.w3.org/2005/Atom' > xmlns:gd='http://schemas.google.com/g/2005'> > <atom:category scheme='http://schemas.google.com/g/2005#kind' > term='http://schemas.google.com/contact/2008#contact' /> > <gd:name> > <gd:givenName>Elizabeth</gd:givenName> > <gd:familyName>Bennet</gd:familyName> > <gd:fullName>Elizabeth Bennet</gd:fullName> > </gd:name> > <atom:content type='text'>Notes</atom:content> > <gd:email rel='http://schemas.google.com/g/2005#work' > primary='true' > address='[email protected]' displayName='E. Bennet' /> > <gd:email rel='http://schemas.google.com/g/2005#home' > address='[email protected]' /> > <gd:phoneNumber rel='http://schemas.google.com/g/2005#work' > primary='true'> > (206)555-1212 > </gd:phoneNumber> > <gd:phoneNumber rel='http://schemas.google.com/g/2005#home'> > (206)555-1213 > </gd:phoneNumber> > <gd:im address='[email protected]' > protocol='http://schemas.google.com/g/2005#GOOGLE_TALK' > primary='true' > rel='http://schemas.google.com/g/2005#home' /> > <gd:structuredPostalAddress > rel='http://schemas.google.com/g/2005#work' > primary='true'> > <gd:city>Mountain View</gd:city> > <gd:street>1600 Amphitheatre Pkwy</gd:street> > <gd:region>CA</gd:region> > <gd:postcode>94043</gd:postcode> > <gd:country>United States</gd:country> > <gd:formattedAddress> > 1600 Amphitheatre Pkwy Mountain View > </gd:formattedAddress> > </gd:structuredPostalAddress>*...... SOME METHODE TO ADD THIS CONTACT TO > THE SYSTEM GROUP: MY CONTACTS* > </atom:entry> > > > > -- > You received this message because you are subscribed to the Google > Groups "Google Contacts, Shared Contacts and User Profiles APIs" 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://code.google.com/apis/contacts/community/forum.html > -- You received this message because you are subscribed to the Google Groups "Google Contacts, Shared Contacts and User Profiles APIs" 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://code.google.com/apis/contacts/community/forum.html
