HP OneView REST API Reference

server-profiles
server-profiles.html[10/17/2013 10:35:14 AM]
Response Codes
REST API Response Codes
Examples
GET
https://{appl}/rest/server-profiles/profile-ports/
schema
URI: /rest/server-profiles/schema
Method API
GET Generate the ServerProfile JSON formatted schema
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 the ServerProfile object
Response Codes
REST API Response Codes
Examples
GET https://{appl}/rest/server-profiles/schema
URI: /rest/server-profiles/{id}/messages
Method API
GET This API is used to retrieve the error or status messages associated with the specified profile.
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
ServerProfileHealth ServerProfileHealth object that matches the specified profile
UUID
Response Codes
REST API Response Codes
Examples
Get the profile status messages associated with a profile
GET https://{appl}/rest/server-profiles/{id}/messages
URI: /rest/server-profiles/{id}
Method API