5.5.1

Table Of Contents
You receive the workflow definition in the response body of the request:
<xml version="1.0" encoding="UTF-8" standalone="yes">
<workflow xmlns="http://www.vmware.com/vco" customized-icon="false"
href="https://localhost:
8281/vco/api/workflows/CF808080808080808080808080808080DA808080013086668236014a0614d16e1/">
<relations>
<link rel="up"
href="https://localhost:
8281/vco/api/inventory/System/Workflows/Samples/HelloWorld/" />
<link rel="add"
href="https://localhost:
8281/vco/api/workflows/CF808080808080808080808080808080DA808080013086668236014a0614d16e1/exec
utions/" />
<link rel="down"
href="https://localhost:
8281/vco/api/workflows/CF808080808080808080808080808080DA808080013086668236014a0614d16e1/exec
utions/" />
<link rel="down"
href="https://localhost:
8281/vco/api/workflows/CF808080808080808080808080808080DA808080013086668236014a0614d16e1/pres
entation/" />
<link rel="down"
href="https://localhost:
8281/vco/api/workflows/CF808080808080808080808080808080DA808080013086668236014a0614d16e1/task
s/" />
<link rel="down"
href="https://localhost:
8281/vco/api/workflows/CF808080808080808080808080808080DA808080013086668236014a0614d16e1/ico
n/" />
</relations>
<input-parameters>
<parameter name="name" type="string" />
</input-parameters>
<output-parameters>
<parameter name="message" type="string" />
</output-parameters>
<name>Send Hello</name>
<description></description>
</workflow>
2 Make a GET request at the URL that holds the definition of the workflow presentation:
GET https://localhost:
8281/vco/api/workflows/CF808080808080808080808080808080DA808080013086668236014a0614d16e1/pres
entation/
3 Make a POST request at the URL that holds the execution instances of the workflow presentation:
POST https://localhost:
8281/vco/api/workflows/CF808080808080808080808080808080DA808080013086668236014a0614d16e1/pres
entation/instances/
Provide an empty execution-context so that just to instantiate the presentation without providing any
values for the input parameters:
<execution-context xmlns="http://www.vmware.com/vco"/>
Chapter 2 Using the vCenter Orchestrator REST API
VMware, Inc. 21