Invoking a REST
Operation
To make REST
requests, you can either invoke a configured REST operation or invoke a REST
operation dynamically by using a configured REST operation as a template and
replacing any of the parameters at runtime.
There are several ways to invoke
a REST operation.
- Configure REST hosts and associate REST operations with them by running theAdd a REST HostandAdd a REST Operationworkflows. The registered REST hosts and REST operations are persistent and can be found in theInventoryandResourcesviews.
- Invoke a REST operation without previously configuring REST hosts and adding REST operations by running theInvoke a dynamic REST operationworkflow from . With this workflow, you can provide REST host base URL and operation parameters. The data is not persistent and is not available in theInventoryandResourcesviews.
- Configure REST hosts, associate REST operations with them, and use the configured REST hosts and REST operations as templates for further use, by running theInvoke a REST host with dynamic paramsandInvoke a REST operation with dynamic paramsworkflows from . You can replace some of the parameters of already configured REST hosts and REST operations when you run the workflows. The original REST hosts and REST operations are not affected.
Invoke a REST
Operation
Call a REST operation
directly.
- Verify that you are logged in to theAutomation OrchestratorClient as an administrator.
- Verify that you have a connection to a REST host from theInventoryview.
- Navigate toand enter thehttp-restandconfigurationtags in the workflow search box.
- Locate theInvoke a REST operationworkflow and clickRun.
- On theOperationtab, select the REST operation from the list of available operations.
- Provide the input parameters and content that the operation requires.
- ClickRun.