Reference Guide

Table Of Contents
Table 8. HTTP response codes (continued)
Request Response code
GET
200 OK with message body
204 OK with no message body
206 OK with partial message body
POST
201 Resource created (operation complete)
202 Resource accepted (operation pending)
PUT
202 Accepted (operation pending)
204 Success (operation complete)
DELETE
202 Accepted (operation pending)
204 Success (operation complete)
Failure codes
Invalid parameter 400 - Invalid parameter
Authorization 401 - Authorization failure
Permission denied 403 - Permission denied
Not found 404 - Resource not found
Invalid request method 405 - Invalid request method
Internal server error 500 - Internal server error
Service unavailable 503 - Service unavailable
For more information about response codes, see Status Code Definitions on the W3.org website.
Response headers
The following table lists a few examples of response headers:
Table 9. Examples of response headers
Response Header Description Example
Connection Control options for the current
connection and list of hop-by-hop
request fields.
Connection: Keep-Alive
Content-Type Specifies the format of the content that
the server returns. If there are multiple
formats that can be accepted in the
client request (using the Accept header),
the server chooses the appropriate
supported format.
Content-Type: application/json;
odata.metadata=minimal
Keep-alive
Timeout header parameter indicates
the time that a connection is allowed
to remain idle before it is closed.
Max header parameter indicates the
maximum number of requests that
are permitted before the connection
is closed.
Timeout=5; max=150
Content-length The length of the request body in 8-bit
bytes or octets.
Content-Length: 348
30 Key integration concepts