Leni, if you pull addresses from google, are you getting anything other than the formattedAddress sub field in gd:structuredPostalAddress ?
On Jun 18, 4:49 pm, Zindus Development <[email protected]> wrote: > A couple of questions about > gd:structuredPostalAddress:http://code.google.com/apis/gdata/docs/2.0/elements.html#gdStructured... > > 1. is gd:formattedAddress parsed into component parts? > > When a new contact containing a > gd:structuredPostalAddress/gd:formattedAddress element is PUT, the > returned contact doesn't contain any elements for the address parts like > gd:street gd:city etc. > > This seems to be inconsistent with the handling of the gd:name element, > where creating a new contact with gd:name/gd:fullName returns a contact > containing the name parts: givenName, familyName etc. > > Is gd:formattedAddress supposed to be parsed into it's component parts > by the API? And if so, when? > > 2. is gd:country broken? > > PUT the contact given as an example > here:http://code.google.com/apis/contacts/docs/3.0/developers_guide_protoc... > and the API returns: > 400 Bad Request > [Line 34, Column 42, element gd:country] Unrecognised element. > > Remove the gd:country element and it works fine. > > 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 -~----------~----~----~----~------~----~------~--~---
