REST API – Status Codes

HTTP Status CodeDescription
200 OKRequest completed successfully.
201 CreatedNew object created as requested.A 201 status is returned from a synchronous resource creation or an asynchronous resource creation that completed before the response was returned.
400 Bad RequestThe request could not be processed because it contains missing or invalid information (such as, a validation error on an input field, a missing required value, and so on).
404 Not FoundThe request includes a resource URI that does not exist.
401 UnauthorizedThe request is not authorized. The authentication credentials included with this request are missing or invalid.
403 ForbiddenThe user cannot be authenticated. The user does not have authorization to perform this request.
405 Method Not AllowedThe HTTP verb specified in the request (DELETEGETPOSTPUT) is not supported for this request URI.
406 Not AcceptableThe resource identified by this request is not capable of generating a representation corresponding to one of the media types in the Accept header of the request. For example, the client’s Accept header request XML be returned, but the resource can only return JSON.
415 Not AcceptableThe client’s ContentType header is not correct (for example, the client attempts to send the request in XML, but the resource can only accept JSON).
500 Internal Server ErrorThe server encountered an unexpected condition that prevented it from fulfilling the request.
503 Service UnavailableThe server is unable to handle the request due to temporary overloading or maintenance of the server. The Oracle BI Publisher REST web application is not currently running.

Leave a Reply

Your email address will not be published.