7.3

Table Of Contents
"value" : {
"type" : "timeSpan",
"unit" : "DAYS",
"amount" : 5
}
}, {
"key" : "requestedBy",
"value" : {
"type" : "string",
"value" : "tony@example.mycompany.com"
}
} ]
}
},
"status" : "Active",
"availableActions" : [ ]
} ],
"metadata" : {
"size" : 20,
"totalElements" : 7,
"totalPages" : 1,
"number" : 1,
"offset" : 0
}
}
Syntax for Getting Work Item Details
GET /api/workitems/{id} retrieves the details of a pending work item. You need these details to
submit a completion request.
Input
Use the supported input parameters to control the command output.
Parameter Description
URL https://$vRA/workitem-service/api/workitems/workitem_ID
$vRA Specifies the appliance name and fully qualified domain name, or IP address of
the vRealize Automation server.
$token Specifies a valid HTTP bearer token with necessary credentials.
workitem_ID Specifies the unique identifier of a work item. See Syntax for Listing Work Items.
Output
The command output contains property names and values based on the command input parameters.
Programming Guide
VMware, Inc. 71