输入 | 输出 | ||
---|---|---|---|
参数名称 | 基本类型 | 说明 | |
oauthConfigurations | JSON | 为连接器提供具有正确 OAuth 配置设置的有效 JSON 文件。 | 随后会返回一条消息,表明已成功完成或在服务执行期间出错。 |
输入 | 输出 | ||
---|---|---|---|
参数名称 | 基本类型 | 说明 | |
Connector config name | 字符串 | 提供要删除其 OAuth 配置设置的有效连接器配置值。 | 随后会返回一条消息,表明已成功完成或在服务执行期间出错。 |
OAuth provider | 字符串 | 为指定连接器提供有效的 OAuth 提供者。 |
输入 | 输出 | ||
---|---|---|---|
参数名称 | 基本类型 | 说明 | |
– | – | - | 返回一个 JSON,其中包含连接器名称和加载到 ThingWorx Flow 服务器的所有 OAuth 的 OAuth 提供者名称。 |
输入 | 输出 | ||
---|---|---|---|
参数名称 | 基本类型 | 说明 | |
OAuth provider | 字符串 | 为第三方服务或实用程序提供有效的 OAuth 提供工具。 | 随后会返回一条消息,表明已成功完成或在服务执行期间出错。 |
User Name | 字符串 | 对于要删除其由指定 OAuth 提供工具生成的访问令牌的用户,请提供其 ThingWorx 用户名。 此字段为可选字段。如果未指定用户名,则服务将删除指定 OAuth 提供工具所有用户的所有 OAuth 访问令牌。 |
在服务删除 OAuth 提供者的 OAuth 访问令牌后,会显示 ThingWorx Flow 仪表板上带有 图标的 OAuth (指定用户) 连接器。 |
输入 | 输出 | ||
---|---|---|---|
参数名称 | 基本类型 | 说明 | |
connectorName | 字符串 | 提供第三方服务的连接器名称。 | 随后会返回一条消息,表明已成功完成或在服务执行期间出错。 |
输入 | 输出 | ||
---|---|---|---|
参数名称 | 基本类型 | 说明 | |
– | – | – | 随后会返回一条消息,表明已成功完成或在服务执行期间出错。 |
错误代码 | 错误消息 |
---|---|
[FLOW-CONFIG-01] | ThingWorx Flow is not enabled.Add the OrchestrationSettings section to the platform-settings.json file to enable ThingWorx Flow. |
[FLOW-RABBIT-01] | Failed to connect to RabbitMQ.Check whether the RabbitMQ service is running and is accessible. |
[FLOW-API-01] | Failed to connect to ThingWorx Flow.Check ThingWorx logs for more detail. |
[FLOW-API-02] | Failed to connect to ThingWorx Flow.Make sure that you are accessing ThingWorx over the ThingWorx Flow hostname and port once ThingWorx Flow has been installed. Otherwise, ThingWorx Flow and ThingWorx will not be able to communicate with each other. |
[FLOW-KEY-01] | OAuth admin key not found in the ThingWorx KeyStore. |
[FLOW-KEY-02] | Exchange admin key not found in the ThingWorx KeyStore. |
[FLOW-KEY-03] | Failed to get ThingWorx Flow keys from the ThingWorx KeyStore. |
[FLOW-KEY-04] | Failed to get ThingWorx Flow keys from the ThingWorx KeyStore. |
[FLOW-EXCHANGE-01] | Failed to connect to ThingWorx Flow exchange service.Check ThingWorx logs for more details. |
[FLOW-EXCHANGE-02] | Failed to connect to ThingWorx Flow exchange service.Check whether ThingWorx Flow exchange service is up and running. |
[FLOW-OAUTH-01] | Failed to connect to ThingWorx Flow OAuth service.Check ThingWorx logs for more details. |
[FLOW-OAUTH-02] | Failed to connect to ThingWorx Flow OAuth service.Check whether ThingWorx Flow OAuth service is up and running. |