Hi, I would like to suggest a small change the documentation.

This:
http://code.google.com/apis/contacts/docs/3.0/developers_guide_protocol.html#Updating
says:
   To update an existing contact, first retrieve the entry you
   want to update, modify it, and then send a PUT request with the
   updated entry in the message body to the contact's edit URL.

What it doesn't say is that if the contact has changed groups and contains a
   <gContact:groupMembershipInfo href="blah" deleted='true' />
element, that these elements should be removed from the <entry/>.

Otherwise, if a client POST's an <entry> containing 
<gContact:groupMembershipInfo href="blah" deleted='true' /> the response is:
http status: 400
Contact entries received from a client must not have deleted set to true.

I guess other clients that use the protocol may bump into this too.

Cheers -

Leni.


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