HP OneView REST API Reference

REST API Response Codes
stdrespcodes.html[10/17/2013 10:36:09 AM]
parameter sent in request.
GET,
DELETE
The syntax of a request
parameter (filter, query, start,
count, sort) is invalid or refers
to invalid resource attribute
names.
Error Message entity indicating the
specific request parameter(s) in
error, and the specific problem(s)
with those parameters.
POST,
PUT
Field validation failed: One or
more field values sent in an
add/update request are not
acceptable, because the format
or content of the field is invalid.
Note: Any field in the request
body that fails validation
because it is a URI that
references a non-existent
resource will cause the POST
or PUT to fail with status 400
BAD REQUEST, rather than
status 404 NOT FOUND.
Error Message entity describing the
specific fields that are not acceptable
and why.
401
UNAUTHORIZED
ALL The user (based on session
token passed in the
Authorization header) is not
allowed to perform the
operation on the specified
resources.
Error Message entity describing the
specific operations on the specific
resources that the user was not
allowed to perform.
403 FORBIDDEN POST,
PUT
User attempted to update an
attribute that is read-only or the
user does not have appropriate
permissions to update the
attribute.
Error Message entity describing why
the request is forbidden.
POST,
PUT
User attempted to update a
resource without providing an
If-Match Request Header
(required for optimistic
concurrency control).
Error Message entity, indicating “If-
Match” header and ETag is required
for updates.
POST,
PUT
For login request, password
change required.
Error Message entity describing why
the request is forbidden.
404 NOT FOUND GET, PUT,
DELETE
The URI path (excluding filters)
specifies a non-existent
resource or collection.
Error Message entity indicating which
resource(s) were not found.
405 METHOD NOT
ALLOWED
ALL The requested HTTP method is
not valid/supported.
Error Message entity describing that
the method is either not supported or
not applicable for the given resource.
Note: The appliance does not