User Data Services API
HTTP status codes are returned by the API with the responses.
Success Response Codes
Action | Response |
---|---|
GET | Requests return a 200 response if the resource is successfully retrieved. |
POST | Requests return a 201 response if successful. Certain resources return a response that can be used to confirm that the information was added. |
PUT | Requests return a 200 response if successful. Certain resources return a response that can be used to confirm that the information was added. |
DELETE | Requests return a 204 response if successful. |
Error Response Codes
Action | Response |
---|---|
401 | Unauthorized Access. The client must submit authorization credentials before the request can be carried out. |
404 | Resource does not exist. This error occurs when the URL used in the request does not match a UDS resource. |
405 | The resource does not support this HTTP method. The common cause of this error is when a POST or a PUT method is attempted with a resource that only supports a GET method. |
409 | A conflict has occurred when attempting to carry out the request. One source of this error is when a POST method attempts to add information to the database that already exists. |
500 | An internal exception has occurred. |
503 | The server is temporarily overloaded. Please wait and try your request later. |