Hi all,
My PHP app is creating and retrieving contacts through the API. But what
comes back is not the same as what was sent. Below is a snippet of the XML
that I send. I check it's arrival in my gmail and then retrieve it through
my app. When I view the returned XML I see that:
- Full name and title are swapped.
- Structured address are never returned, but I get a postalAddress.
- Gender, Birthday, Language and Relation just disappear.
Is anyone else getting these kind of problems?
Thanks,
Gavin
<entry>
<title>My Template</title>
<gd:name>
<gd:givenName>My</gd:givenName>
<gd:familyName>Name</gd:familyName>
<gd:fullName>My Name</gd:fullName>
</gd:name>
<gd:structuredPostalAddress primary='true' rel='
http://schemas.google.com/g/2005#work'>
<gd:street>1 My Street</gd:street>
<gd:postcode>12345</gd:postcode>
<gd:city>My City</gd:city>
<gd:region>My Region</gd:region>
<gd:country>My Country</gd:country>
<gd:formattedAddress>
1 My Street, My City, My Region, My Country
</gd:formattedAddress>
</gd:structuredPostalAddress>
<gContact:gender value='male'/>
<gContact:birthday when='1989-01-01'/>
<gContact:language label='English'/>
<gContact:language label='Spanish'/>
<gContact:relation label='Work'>Analyst</gContact:relation>
<gContact:relation label='Work'>Designer</gContact:relation>
</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