HP OneView REST API Reference

tasks
tasks.html[10/17/2013 10:35:11 AM]
URI: /rest/tasks/schema
Method API
GET Gets the JSON schema of the TaskResourceV2
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
void
Response Codes
REST API Response Codes
Examples
This example returns the TaskResourceV2 schema in JSON format
GET https://{appl}/rest/tasks/schema
URI: /rest/tasks/{id}
Method API
GET Gets the task V2 corresponding to a given task
Parameter Attributes Description
view Optional Return a specific subset of the attributes of the resource or collection
by specifying the name of a predefined view. The default view is
expand (show all attributes of the resource, and all elements of
collections or resources).
fields Optional Specifies which fields/columns should be returned in the response
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
TaskResourceV2 Represents the task V2 with the specified ID
Response Codes
REST API Response Codes
Examples