API responses use the HTTP response format where a 2xx status code indicates a successful call and a 4xx or 5xx status code indicates a failed call.
Responses can be returned in either the JSON or XML format. When you make a request from an external system, you can import a parameter that specifies the returned data format. The default response is in the XML format.
Sample responses in API documentation are formatted to improve readability. Actual responses are not formatted with line breaks or indentation.