HP OneView REST API Reference

REST API Response Codes
stdrespcodes.html[10/17/2013 10:36:09 AM]
support the TRACE and HEAD
methods.
409 CONFLICT POST,
PUT,
DELETE
The request could not be
completed due to a conflict with
the current state of the
resource(s).
Examples: The resource is
marked for deletion; the
resource is locked in a
transitory state (for example,
applying a profile); the
requested state change does
not apply in the resource(s)
current state (for example,
server is powered-on or OA
already managed by other
appliance).
Error Message entity indicating the
specific conflict with which
resource(s).
410 GONE GET, PUT,
DELETE
(optional) The requested
resource has been deleted
(only used if the server has
some way of knowing this).
Error Message entity indicating which
resource(s) were deleted.
412
PRECONDITION
FAILED
PUT User attempted to update a
resource but provided an
unacceptable ETag in the "If-
Match" Request Header (this
typically occurs when multiple
users attempt to update the
same resource).
Also returned when an invalid
API version is sent in the X-
API-Version header.
Error Message entity indicating which
resource(s) failed this test.
415
UNSUPPORTED
MEDIA TYPE
POST,
PUT
The media type of the request
body (as specified in the
Content-Type header) is not
supported by the server.
Error Message entity indicating the
list of media types supported by the
server.
500 INTERNAL
SERVER ERROR
ALL An unexpected error has
occurred that does not fit into a
standard error category
(examples include database
access errors).
Error Message entity providing any
available information on the error (at
what point the error occurred,
accessing what resources, and so
on).
503 SERVICE
UNAVAILABLE
ALL The server is currently unable to
handle the request due to
temporary overloading or
maintenance of the server.
Error Message entity providing any
available information on the error.