5.5

Table Of Contents
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/
4 Provide values for the input parameters of the Use vCenter Server license workflow in an execution-
context element in the request body.
Option Description
host
The IP address or DNS name of the vCenter Server host.
port
The port number of the vCenter Server host.
user name
The user name that Orchestrator must use to establish connection to
vCenter Server. The user must have administrative privileges on your
vCenter Server instance.
password
The password for authenticating on the vCenter Server instance.
Installing and Configuring VMware vCenter Orchestrator
78 VMware, Inc.