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 vRealize Orchestrator Client as an administrator.
  • Verify that you have a connection to a REST host from the Inventory view.

Procedure

  1. Navigate to Library > Workflows and enter the http-rest and configuration tags in the workflow search box.
  2. Locate the Add a REST operation workflow and click Run.
  3. Select the parent host to which you want to add the operation.
  4. In the Name text box, enter the name of the operation.
  5. 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}
  6. 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.
  7. Click Run.

What to do next

You can run workflows on the operation from the Inventory view.