Hello:
When I create a contact with POST to
http://social.yahooapis.com/v1/user/GUID/contacts everything works well until I add "birthday" or "anniversary" fields to the request - when I try any of these, yahoo returns response code 400 (Bad Request) with the following messages:
Request has malformed syntax or bad query
detail: invalid input: day not found
I create a contact with JSON, request body is (as you see, "day" field is there):
{"contact":{"fields":[{"value":{"familyName":"testing"},"type":"name"},{"value":{"month":"1","day":"9"},"type":"birthday"}]}}
I'm facing exactly the same problem when I set "type" of the second field to "anniversary". When I remove birthday or anniversary field, everything works great and yahoo creates a contact wirth familyName = "testing". I also have no problems with other fields - all fields are created fine, everything goes well until I add "birthday" or "anniversary".
Request headers are:
"accept-encoding" => "gzip"
"content-length" => 125
"content-type" => "application/json"
Does anybody have any experience with creating contacts with birthdays or anniversaries set? Any advice is highly appreciated.
Thanks in advance,
Eugene.