Execute Swagger API
Use the Execute Swagger API action to execute Windchill Swagger APIs.
Complete the following steps to use the Execute Swagger API action in your workflow:
1. Drag the
Execute Swagger API action under the Windchill connector to the canvas, place the pointer on the action, and then click
or double-click the action. The Execute Swagger API window opens.
2. Edit the Label, if needed. By default, the label name is the same as the action name.
If you previously added a connector type, select the appropriate Connector Type, and under Connector Name, select the connector.
4. Click TEST to validate the connector.
5. Click
MAP CONNECTOR to execute the action using a connector that is different from the one that you are using to populate the input fields. In the
Runtime Connector field, provide a valid Windchill connector name. For more information about
MAP CONNECTOR, see
Using Map Connector.
6. In the Swagger API list, select the Windchill Swagger API that you want to execute.
The fields in the input form change dynamically based on the Swagger API that you select.
7. Select Form to provide inputs for individual input fields listed in the form, or select Assign JSON to specify a single JSON with all required inputs.
8. Click Done.
Output schema
The Execute Swagger API action provides a dynamic output schema on the basis of the selected Swagger API. The action returns a result object that contains the output of the executed Swagger API.