E Status Codes
REST APIs support HTTP response status codes, where the specific code that is returned depends on the HTTP method invoked on the request.
REST APIs support the HTTP codes listed in the following table.
Table E-1 HTTP Codes Supported by REST APIs
HTTP Code | Description |
---|---|
|
Request successfully executed and the response has content. |
|
Resource successfully created. The response contains the created resource. |
|
Request successfully executed and the response doesn't have content. |
|
According to the provided ETag, the resource was not modified. |
|
The request could not be understood by the server due to malformed syntax. |
|
The server is refusing to service the request because the resource of the request is secured and authentication has not yet been provided. |
|
The requested resource was not found. |
|
The business object identified by the request is only capable of generating response entities which have content characteristics not acceptable according to the accept headers sent in the request. |
|
The business object state in the server side doesn't match the provided ETag. |
|
The server is refusing to service the request because the entity of the request is in a format not supported by the requested business object for the requested method. |
|
The server encountered an unexpected condition which prevented it from fulfilling the request. |