Data Formats

  Date Updated: May 30th 2014

Receiving Data

JSON (javascript object notation)

The EXO API  returns JSON - you don't need to explicitly tell the API to return in this format. However, if you like to be sure you are receiving JSON you can:

Pass the ?format=json flag in the URL, for example:


http://exo.api.myob.com/contacts?format=json

Or pass accept: application/json as one of the headers.

Passing Data

If you are passing data to the EXO API using PUT or POST format you must set Content-Type: application/json in your header.