Supported OData Connector Types
Add an OData connector type to authorize ThingWorx Flow to execute OData actions. ThingWorx Flow supports the following connector types for OData:
◦ OAuth (Named User)
◦ OAuth (Session User)
|
Before you create an OData OAuth connector, ensure that you load OData OAuths to the ThingWorx Flow server.
|
|
The Switch option is not available on the ThingWorx Flow dashboard for any connector under OData.
|
Adding a Basic connector
1. Drag any action under
OData to the canvas, place the pointer on the action, and then click
or double-click the action.
2. For Connector Type, select Basic.
3. In the OData Basic list, select Add New.
4. Edit the Connector Label field, if you want. Labels are case-sensitive. Do not use spaces, special characters, and leading numbers.
5. In the Application url field, specify the metadata URL. For example: https://<Host Name>/Windchill/servlet/odata/v1/ProdMgmt/$metadata
6. In the User Name and Password fields, enter the correct user name and password.
7. Click ADD to add the OData Basic connector.
Adding a None connector
1. Drag any action under
OData to the canvas, place the pointer on the action, and then click
or double-click the action.
2. For Connector Type, select None.
3. In the OData Metadata Url field, specify the metadata URL. For example: https://<Host Name>/Windchill/servlet/odata/v1/ProdMgmt/$metadata
Adding an OAuth connector
1. Drag any action under
OData to the canvas, place the pointer on the action, and then click
or double-click the action.
2. For Connector Type, select OAuth (Named User) or OAuth (Session User).
3. In the OData OAuth list, select Add new OData login – Named User or Add new OData login – Session User.
| If you have not loaded OData OAuths to the ThingWorx Flow server, this option is not available. |
4. Review access permissions, and click Allow.
5. Provide your user name and password to log in to OData.
6. Edit the Connector Label, if you want. Labels are case-sensitive. Do not use spaces, special characters, and leading numbers.
7. In the Resource URL field, enter the OData resource URL.
8. Click ADD to add the OData OAuth connector.