The Athento API uses an HTTP REST type interface, therefore, the response types are mainly standard HTTP responses, such as those that can be seen at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status .
The responses are usually in JSON format.
Some of these responses may be:
200 OK
Returned when the request was successful.
201 Created
Returned when a document has been successfully created. In this case, one of the data obtained is the UUID of the created document.
400 Bad Request
Occurs when the format of the request is not correct. If you cannot identify the reason, please send the complete request with evidence of the error to soporte@athento.com.
401 Unauthorized
This error happens if a request is made without credentials to a restricted resource.
If this happens, please, review that you added a valid authentication method.
403 Forbidden
The user has no permission to access this resource.
If this happens, review the permissions of the current user.
500 Internal Server Error
In this case, the JSON response will have the error detail. If you still have doubts about the response, please send the detail of the request and response to soporte@athento.com.
Comments
0 comments
Please sign in to leave a comment.