5.5.2

Table Of Contents
2 Retrieve the definition of the workflow by making a GET request at the URL of the definition.
To retrieve the definition of the Import trusted certificate from a file workflow, make the following GET
request:
GET https://{vcoHost}:{port}/vco/api/workflows/93a7bb21-0255-4750-9293-2437abe9d2e5
3 Make a POST request at the URL that holds the execution objects of the workflow.
For the Import trusted certificate from a file workflow, make the following POST request:
POST https://{vcoHost}:
{port}/vco/api/workflows/93a7bb21-0255-4750-9293-2437abe9d2e5/executions
4 Provide values for the input parameters of the workflow in an execution-context element of the request
body.
Parameter Description
cer
The CER file from which you want to import the SSL certificate.
This parameter is applicable for the Import trusted certificate from a file
workflow.
url
The URL from which you want to import the SSL certificate. For non-HTPS
services, the supported format is IP_address_or_DNS_name:port.
This parameter is applicable for the Import trusted certificate from URL
workflow.
Importing Licenses by Using the REST API
You can import licenses by running a Configuration plug-in workflow or by using the REST API.
The Configuration plug-in contains workflows that let you import the vCenter Server license and enter
license keys. You can access these workflows by navigating to Configuration > VMware > License in the
Workflows view of the Orchestrator client. In addition, you can also run these workflows by using the
Orchestrator REST API. For information about importing licenses by using the Orchestrator configuration
interface, see “Importing the vCenter Server License,” on page 61.
Import the vCenter Server License by Using the REST API
You can import the vCenter Server license by running a workflow from the Configuration plug-in or by
using the REST API.
Procedure
1 Make a GET request at the URL of the Workflow service of the Use vCenter Server license workflow.
GET https://{vcoHost}:{port}/vco/api/workflows?conditions=name=Use vCenter server license
2 Retrieve the definition of the Use vCenter Server license workflow by making a GET request at the URL
of the definition.
GET https://{vcoHost}:{port}/vco/api/workflows/5f4a37f4-6f8f-4d20-9468-e7018c206952
3 Make a POST request at the URL that holds the execution objects of the Use vCenter Server license
workflow.
POST https://{vcoHost}:{port}/vco/api/workflows/5f4a37f4-6f8f-4d20-9468-
e7018c206952/executions/
Installing and Configuring VMware vCenter Orchestrator
78 VMware, Inc.