Meride API - Presentation - HTTP status codes

HTTP status code HTTP status code definition Meaning Response body
200 OK The request was successful The object or objects on which the request is being made
201 Created The resource has been created. The object created
204 No Content The server has satisfied the request but does not need to return a body No Content
400 Bad Request One or more request parameters are not valid A JSON array with the description of errors
401 Unauthorized You do not have sufficient permissions to make the request A JSON array with the description of the errors
403 Forbidden Credentials are not valid for this request A JSON array with the description of the errors
404 Not Found The requested entity was not found A JSON array with the description of the errors
405 Method Not Allowed The specified method (GET, PUT, POST, etc.) is not allowed on this resource A JSON array with the description of the errors
500 Internal Server Error An internal server error has occurred. Internal Server Error
503 Service Unavailable The server is currently unable to handle the request due to maintenance A JSON array with the description of the errors