A fully featured JSON API, with no XML requirements whatsoever.
Title says it all, pure JSON, nothing else. All the same features as the XML one, but at a different endpoint.
I’m pleased to announce that we now fully support JSON for the accounting API.
You can now use application/json as your content type and send through your PUTs and POSTs with JSON.
Drew G commented
Any update on the progress of this?
Glenn “devalias” Grant commented
Matthew Schinckel commented
I think this works now (it does for me).
Although, if you have a validation error, you currently get a 500, instead of a specific error message.
'Accept' : 'application/json' works for GET (contacts at least)
it does not for POST
posting same xml with accept : json returns empty body, same code !
this is terrible...
parsing json is 1,000 better rather than using a xpath query