5.5.1

Table Of Contents
2 Make a PUT request at the URL of the plug-in that you want to enable or disable:
PUT http://{vcoHost}:{port}/vco/api/plugins/{plug-in_name}/state/
If the PUT request is successful, you receive the status code 200.
Performing Server Configuration Operations
The Orchestrator REST API provides Web services that you can use to perform various operations related to
the Orchestrator server configuration.
Retrieve Information About the Orchestrator Server Configuration
You can retrieve information about the Orchestrator server configuration by using the Orchestrator REST
API.
Procedure
1 In a REST client application, add request headers to define the properties of the server for which you
want to retrieve information.
2 Make a GET request at the URL of the plug-in objects:
GET http://{vcoHost}:{port}/vco/api/server-configuration/
If the GET request is successful, you receive the status code 200.
Import Orchestrator Server Configuration
You can import a saved configuration by using the Orchestrator REST API.
Prerequisites
The configuration binary content should be available as multi-part content. For details, see RFC-2387.
Procedure
1 In a REST client application, add a request header with the following values.
n
Name: content-type
n
Value: multipart/form-data
2 Make a POST request at the URL of the server configuration:
POST http://{vcoHost}:{port}/vco/api/server-configuration/
If the POST request is successful, you receive the status code 200.
Export Orchestrator Server Configuration
You can export the server configuration by using the Orchestrator REST API.
Prerequisites
The configuration binary content should be available as multi-part content. For details, see RFC-2387.
Procedure
1 In a REST client application, add a request header with the following values.
n
Name: content-type
n
Value: multipart/form-data
Chapter 2 Using the vCenter Orchestrator REST API
VMware, Inc. 47