After the API service is called, data is returned in a unified format.  The returned HTTP status code 2xx indicates that the call is successful. The returned HTTP status code  4xx or 5xx indicates that the call fails.  When the call is successful, data can be returned mainly in two formats: XML and JSON. When a request is sent, an external system can pass in a parameter to define the format of the returned data. The default format is XML.

Examples of returned results in this document are formatted for ease of viewing. The actual results returned are not formatted with line breaks or indentation.