The elements of an HTTP PATCH response for the update of
a specific row in a table of the ObjectServer.
Table 1. Row element: PATCH response
Element |
Description |
Response headers |
- Server
- The name of the HTTPd engine.
- Date
- The date or time of the response.
- Connection
- The state of the connection. Possible states are Close or Keep-Alive.
|
Content-Type |
application/json |
Normal HTTP response codes |
- 200 (Created): The response body contains
a JSON success message.
|
Error HTTP response codes |
- 400 (Bad Request): The JSON row set definition
of the row to insert is invalid. The row is invalid because it contains
missing, unknown or incorrect columns, or because insufficient or
incorrect column values are provided.
- 404 (Not Found): The requested row was
not found in the table because the row was deleted.
- 500 (Internal Server Error): The server
failed to complete the request due to an unexpected internal problem.
The response body contains the JSON error message with more information.
Other common HTTP error response codes
are 401 (Unauthorised), 403 (Forbidden)406 (Not acceptable), and 415 (Unsupported
Media Type).
|