You can run a workflow to add an operation to a REST host from the plug-in inventory.
Prerequisites
- Verify that you are logged in to the Automation Orchestrator Client as an administrator.
- Verify that you have a connection to a REST host from the Inventory view.
Procedure
- Navigate to and enter the http-rest and configuration tags in the workflow search box.
- Locate the Add a REST operation workflow and click Run.
- Select the parent host to which you want to add the operation.
- In the Name text box, enter the name of the operation.
- In the Template URL text box, enter only the operation part of the URL.
You can include placeholders for parameters that are provided when you run the operation.
The following is an example URL syntax.
/customer/{id}/orders?date={date}
- Select the HTTP method that the operation uses.
If you select
POST or
PUT, you can provide a Content-Type request header for the method.
- Click Run.
What to do next
You can run workflows on the operation from the Inventory view.