Given that nobody else is asking about this, I know I must be missing something. I've got OAuth working just fine to give me access to the Contacts API, but now I don't know how to form the XML data to POST a new contact into the database. The developer guide at http://developer.yahoo.com/social/rest_api...ontact_api.html provides only very brief examples. I need a comprehensive reference of the fields that the API accepts. I'd be just fine with a single example of a complete XML payload to be sent to the server. But neither seems to be there. Can anyone point out such a reference anywhere?
Wow, I can't believe that this turned out to be a hard question. I guess the answer is that there is no simple reference of the fields that you send to create a contact? I can't describe my rage at this. I mean, what's the freaking point of having an API if you're not going to cover something as basic as this?
I have, however, found a published example of a JSON string that pushes a contact:
This is from https://github.com/joechung/oauth_yahoo. This example is incomplete (missing street address info, for example), but it's the best thing I've found. Wish I knew what an XML version of this might look like.