Error handling

If an error occurs during a REST API operation, a 4xx (client-side) or 5xx (appliance) error is returned along with an error message (ErrorMessage resource model). The error message contains a description and might contain recommended actions to correct the error.

A successful REST API POST operation returns the newly created resource (synchronous) or a TaskResource URI in the Location header (asynchronous).