HTTP status codes

The following HTTP status codes are returned from ZIETrans RESTful Web services:
200
Successful. No error.
400
General error. For example, incorrect content in the request body.
404
URI not found.
405
Method not allowed. For example, the service supports HTTP POST and PUT, but the URI requests HTTP DELETE.
406
Unsupported response format is requested. Supported response format is returned in the Accept header.
415
Unsupported request format. The format used for the request in invalid. Used for HTTP POST and PUT when an unsupported value is supplied in the request's Content-Type HTTP header field.
500
Internal server error, for example an Integration Object execution error. Throws WebApplicationException.

For more information about HTTP status codes, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html.