All data submitted to the Arbor REST Api is validated on the server-side. This validation will sometimes result in validation errors being transmitted back to the client. Other errors can also occour during the execution of the APi request on the server. All of these are communicated back to the client in the HTTP response.

HTTP Status Codes

A successful API request will always result in a response with a HTTP status code of 200. This status will also be communicated back to the client in the response body via the success and status fields.

If an error occurred during the execution of the request the response status will be something other than 200 and will depend on the type of error. Additional information about the error will be included in the Reason phrase field and in some cases a full error report may be contained in the errors array.