HP OneView REST API Reference

REST API Response Codes
stdrespcodes.html[10/17/2013 10:36:09 AM]
HP OneView REST API Reference
REST API Response Codes
Status Code Methods Scenario Response body
200 OK GET Successful return from a
synchronous read/query
operation.
An entity (or list of entities)
corresponding to the requested
resource(s).
GET The URI points to a valid
resource or collection, but there
is nothing to return based on
specified filters.
Empty list.
PUT Successful return from a
synchronous update (or add)
operation.
An entity (or list of entities)
corresponding to the updated
resource(s).
POST Successful (synchronous) POST
returned information that is not
identified by a URI. The
DELETE method typically
returns 204 NO CONTENT, not
200 OK.
Note: The DELETE method
typically returns 204 NO
CONTENT, not 200 OK.
An entity that describes the result of
the operation.
201 CREATED POST Successful return from a
synchronous add operation.
An entity (or list of entities)
corresponding to the created
resource(s).
202 ACCEPTED POST,
PUT,
DELETE
Successful return from an
asynchronous add, update or
delete operation.
A Task Resource entity (or list of
Task Resource entities) is returned,
corresponding to the resource(s)
affected by the operation.
204 NO CONTENT DELETE Successful return from a
synchronous delete operation.
No response body returned.
304 NOT
MODIFIED
GET The ETag specified in the
optional "If-None-Match"
header of the request matches
the current resource ETag.
No response body returned.
400 BAD
REQUEST
ALL Invalid request URI, invalid
header, or invalid request
Error Message entity describing the
specific problem with the request.