The success of an operation is reported as the HTTP response status in the web service response. For further information see: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html.
When an operation completed without an error.
When the creation of a new resource completed with out an error.
When the modification of a new resource completed without an error.
When a conditional request was sent and the preconditions failed.
The request format was invalid, or required GET or POST parameters were missing.
The client has not provided authentication information.
The client was not authorized to perform the request.
When either the requested resource or a resource reference by the request cannot be found.
When a request would result in an inconsistent state on the server, this response is sent.
Indicates that a resource referenced by the request is no longer available.
Internal server error
An error on the server has occurred and the request could not be completed successfully.
For error responses, the response includes a detailed description of the error condition in the response body.