HP OneView REST API Reference

server-hardware-types
server-hardware-types.html[10/17/2013 10:35:25 AM]
Response Codes
REST API Response Codes
Examples
Get all server hardware type resources:
GET https://{appl}/rest/server-hardware-types
URI: /rest/server-hardware-types/schema
Method API
GET Get the JSON schema of the server hardware types resource.
Request
Header
Attributes Description
REST API Request Headers NOTE: The X-API-Version header is required for all APIs. For the current
release, this must be set to "X-API-Version:3"
Response Description
JsonSchema The JSON schema of server hardware types.
Response Codes
REST API Response Codes
URI: /rest/server-hardware-types/{id}
Method API
GET Get the server hardware type resource with the specified URI.
Parameter Attributes Description
Request
Header
Attributes Description
REST API Request Headers NOTE: The X-API-Version header is required for all APIs. For the current
release, this must be set to "X-API-Version:3"
Response Description
ServerHardwareType A server hardware type resource.
Response Codes
REST API Response Codes
Examples
GET https://{appl}/rest/server-hardware-types/{id}
PUT Updates one or more attributes for a server hardware type resource.
Parameter Attributes Description
Request
Header
Attributes Description
REST API Request Headers NOTE: The X-API-Version header is required for all APIs. For the current
release, this must be set to "X-API-Version:3"
Request Attributes Description