HP OneView REST API Reference

tasks
tasks.html[10/17/2013 10:35:11 AM]
TaskTreeV2 Represents the tree for task V2 with the specified ID
Response Codes
REST API Response Codes
Examples
This example returns the tree for task ID: 1234-1234-1234
GET https://{appl}/rest/tasks/1234-1234-1234?view=tree
TaskResourceV2
type: object
Properties
taskOutput: description: Output resulting from the running of the task
type: array
completedSteps: description: Number of steps currently completed by the task
type: integer
modified: description: Date and time when the resource was last modified
format: YYYY-MM-DDThh:mm:ss.sssZ
type: string
pattern: [1-2][0-9][0-9][0-9]-([0-1][0-9])-[0-3][0-9]T[0-2][0-9]:[0-5][0-9]:[0-5][0-9](.[0-9][0-
9][0-9])?Z
taskErrors: description: Error messages associated with the task
type: array
Items
errorSource: description: A reference to the resource or attribute that
applies to an error
type: string
recommendedActions: description: A description of what can be done to rectify the
problem
type: array
nestedError: description: An array of task errors used when there are
multiple errors
type: object
errorCode: description: A string code which uniquely identifies the
specific error allowing clients to switch on
specific errors without having to parse the
error message