Status Codes

Service Desk WS API requests always returns a default response. A response status can be used to determine whether the request has succeeded or failed. The default response comprises of a status code and an associated status text message.

The status message is a short description in English that can be displayed to the user. If you display the status message, you should also display the status code.

Clients can recognize the status codes, not the status messages. When a request cannot be completed successfully, the actual fault or an error message returns. This behavior can vary slightly from the messages that are listed in this appendix.

Some faults are particular to certain calls, while others are more general faults that can occur on any call. For example, status code 100 for an access is denied due to invalid credentials.

0xx : Success Status CodeMessage
000Success: The request was successfully fulfilled by the server; the service returned results of the operation.
001Success: The request was successfully fulfilled by the server; no results were returned by the service.
1xx : Authorization Error Status CodeMessage
100Unauthorized: Access is denied due to invalid credentials.
101License Error: You do not have an appropriate license to use any service.
2xx : Operation Access Error Status CodeMessage
200Invocation Error: The operation definition for the requested service was not found.
201Invocation Error: The requested service operation has been disabled.
3xx : Operation Pre-processing Error Status CodeMessage
300Execution Error: An unexpected error occurred during data-transformation of the request parameters passed during invocation of the web service: { 0} .{ 1} .
301Execution Error: An unexpected error occurred during data-validation of the request parameters passed during invocation of the web service: { 0} .{ 1} .
4xx : End-point Execution Error Status CodeMessage
400Execution Error: An un-handled exception occurred within the service endpoint (provider) during execution of the requested service.
401Execution Error: Some errors were captured by the service endpoint (provider) during execution of the requested service.
402Execution Error: An unexpected error occurred when rendering the service response in the requested format.
403Execution Error: An unexpected error occurred while processing the requested service.

© 2019 Serviceaide 1-650-206-8988 http://www.serviceaide.com info@serviceaide.com