The atom:title element was replaced by the gd:name element in V3, and
it's behavior was changed to keep backward compatibility. For details see
the documentation:
http://code.google.com/apis/contacts/docs/3.0/migration_guide.html#StructuredUnstructuredInteractions

Cheers,
Gyorgy (Google)

On Tue, Sep 29, 2009 at 10:17 AM, Kulvinder Singh
<[email protected]>wrote:

> Hi,
>
> I am using v3.0 of the contact API .NET C# client. While inserting a
> contact, i am not able to see the title of the contact in the returned XML.
> What is wrong where ?
>
> REQUEST :
>
> POST /m8/feeds/contacts/testuser%40a.com/full HTTP/1.1
> Content-Type: application/atom+xml; charset=UTF-8
> User-Agent: G- Technologies Inc. -
> GDataGAuthRequestFactory-CS-Version=1.5.0.0
> Authorization: GoogleLogin auth=a
> GData-Version: 3.0
> Host: www.google.com
> Content-Length: 636
> Expect: 100-continue
> Connection: Keep-Alive
>
> <?xml version="1.0" encoding="utf-8"?>
>
>
>   spouse'>http://schemas.google.com/contact/2008";>spouse
>   <gd:extendedProperty name="-2139123622"
> value="000000001123BB8417D3924C89AC863AA2D15AEF84925D00" />
>   <title type="text">t</title>
>
>   <content type="text" />
> </entry>
>
>
> RESPONSE :
>
> HTTP/1.0 201 Created
> Content-Type: application/atom+xml; charset=UTF-8; type=entry
> Expires: Tue, 29 Sep 2009 08:10:12 GMT
> Date: Tue, 29 Sep 2009 08:10:12 GMT
> Cache-Control: private, max-age=0, must-revalidate, no-transform
> Vary: Accept, X-GData-Authorization, GData-Version
> GData-Version: 3.0
> ETag: "Q3g8fDVSLyt7I."
> Location:
> http://www.google.com/m8/feeds/contacts/testuser%40a.com/full/5f5354a10812ec76
> Content-Location:
> http://www.google.com/m8/feeds/contacts/atestuser%40a.com/full/5f5354a10812ec76
> X-Content-Type-Options: nosniff
> Server: GFE/2.0
> X-XSS-Protection: 0
>
> http://www.w3.org/2005/Atom' xmlns:gContact='
> http://schemas.google.com/contact/2008' xmlns:batch='
> http://schemas.google.com/gdata/batch' xmlns:gd='
> http://schemas.google.com/g/2005' gd:etag='"Q3g8fDVSLyt7ImA9TwU."'>
> http://www.google.com/m8/feeds/contacts/testuser%40a.com/base/5f5354a10812ec76
> 2009-09-29T08:10:12.674Z2009-09-29T08:10:12.674Z'>
> http://www.w3.org/2007/app'>2009-09-29T08:10:12.674Zhttp://
> schemas.google.com/g/2005#kind' term='
> http://schemas.google.com/contact/2008#contact'/<http://schemas.google.com/contact/2008#contact>
> >http://schemas.google.com/contacts/2008/rel#photo' type='image/*' href='
> http://www.google.com/m8/feeds/photos/media/atestuser%40a.com/5f5354a10812ec76'/<http://www.google.com/m8/feeds/photos/media/atestuser%40a.com/5f5354a10812ec76>
> >
> http://www.google.com/m8/feeds/contacts/testuser%40a.com/full/5f5354a10812ec76'/
> >
> http://www.google.com/m8/feeds/contacts/testuser%40a.com/full/5f5354a10812ec76'/
> >spouse
>
>
> >
>

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