7.1

Table Of Contents
Performing Server Configuration Operations
The Orchestrator REST API provides Web services that you can use to perform various operations related to
the Orchestrator server conguration.
Retrieve Information About the Orchestrator Server Configuration
You can retrieve information about the Orchestrator server conguration by using the Orchestrator REST
API.
Procedure
1 In a REST client application, add request headers to dene 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://{orchestrator_host}:{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 conguration by using the Orchestrator REST API.
Prerequisites
The conguration 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 conguration:
POST http://{orchestrator_host}:{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 conguration by using the Orchestrator REST API.
Prerequisites
The conguration 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 Add another request header with the following values.
n
Name: accept
n
Value: */*
Developing a Web Services Client for VMware vRealize Orchestrator
48 VMware, Inc.