Execute Request
This action calls a Swagger specification based REST API.
Using the Execute Request Action
To use this action in your workflow, you need to connect it to ThingWorx Flow. To connect to a flow, do the following:
1. Drag the Execute Request action under the Swagger connector to the canvas, place the pointer on the action, and then click or double-click the action. The Execute Request action window opens.
2. Edit the label name, if needed. By default, the label name is same as the action name.
3. To add an authorization, refer to the section Authorize Swagger in the Swagger connector topic. The default value is None.
If you previously added a connection for Swagger, select a connection from the list.
4. Select or specify an API Request from the list. The input fields for the selected API request appear.
5. Depending on the request that you select, select or enter the properties information.
6. Click Done.
Output Schema
The Execute Request action returns an output schema depending on the API request that you select. See the output schema for the getsecurity request in the figure that follows: