Hi
I would create a contact via API and directly set the group which it
belongs?
To do this I use this XML :

<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>
  <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]' />
  <gContact:groupMembershipInfo deleted='false' href='http://
www.google.com/m8/feeds/groups/onebox.marriz%40myinfo.it/base/dd0cf548df9bfb8'
/>
</atom:entry>

But  I get this error :

The prefix "gContact" for element "gContact:groupMembershipInfo" is
not bound.

I would create directly the account with group membership not update
it.
Many Thanks
Marco

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to