5.5.1

Table Of Contents
2 Get the available runs of the workflow by making a GET request at the URL that holds the execution
objects for the workflow:
GET https://localhost:
8281/vco/api/workflows/CF808080808080808080808080808080DA808080013086668236014a0614d16e1/exec
utions/
3 From the response body of the request, select a workflow run and make a GET request to retrieve it:
GET https://localhost:
8281/vco/api/workflows/CF808080808080808080808080808080DA808080013086668236014a0614d16e1/exec
utions/888080808080808080808080808080803A8080800132145338690643f66a027ec/
The response body contains the XML representation of the workflow run with the specified ID, where
you can check details about that run:
.......
<input-parameters>
<parameter name="name" type="string">
<string>John Smith</string>
</parameter>
</input-parameters>
<output-parameters>
<parameter name="message" type="string">
<string>Hello, John Smith!</string>
</parameter>
</output-parameters>
<start-date>2012-01-31T14:28:40.223+03:00</start-date>
<end-date>2012-01-31T14:28:40.410+03:00</end-date>
<started-by>vcoadmin</started-by>
<name>Send Hello</name>
......
Answer to a Waiting User Interaction
You can answer to a waiting user interaction of a workflow run by using the Orchestrator REST API.
Prerequisites
Verify that you have imported the sample workflows package in Orchestrator. The package is included in
the Orchestrator sample applications ZIP file that you can download from the Orchestrator documentation
page.
Procedure
1 Retrieve the list of all user interaction objects by making a GET request at the URL that holds the
available user interaction objects, or by filtering only the waiting user interactions:
URL Description
https://vcoHost:port/vco/api/catalo
g/System/UserInteraction
Holds the available user interaction objects in Orchestrator
https://vcoHost:port/vco/api/catalo
g/System/UserInteraction?status=0
Filters only the waiting user interaction objects.
You receive a list of the available user interaction objects. User interactions that are waiting have an
attribute with name state and value waiting.
2 Make a GET request at the URL that holds the inventory item of the waiting user interaction to which
you want to answer:
GET https://{vcoHost}:{port}/vco/api/catalog/System/UserInteraction/{userInteractionID}/
Developing a Web Services Client for VMware vCenter Orchestrator
24 VMware, Inc.