API Response

Every request irrespective of the input content type will return an XML or JSON response (content type text/xml or content type application/json). If an application exception occurs during the execution of the request then the server will respond with an HTTP status code 500, however some requests will respond with an HTTP status code of 200 even if errors have occurred during the processing of the document. 200 OK is the default status code for any successful request

The response for a successful request will look similar to the following

<Response>
  <Status>OK</Status>
  <!-- if GET request then information requested will follow -->
</Response>                                                                                                               

If an error occurs during the request, the following response will be returned

<Response>
  <Status>ERROR</Status>
</Response>