UiPath Documentation
activities
latest
false
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

传统“集成”活动

上次更新日期 2026年5月18日

Lightning REST API 请求

UiPath.Salesforce.Activities.LightningRestApiRequest

调用 Salesforce Lightning REST API。 此活动可用于在活动包中未作为原生活动实施的任何 Salesforce Lightning REST API。

属性

常见

  • “显示名称”- 活动的显示名称。

输入

  • AcceptFormat - Specifies the format of the response that is acceptable. By default, this field is set to ANY. The following options are available:
    • 任何
    • JSON
    • XML
  • “方法”- 调用 API 时使用的请求方法。支持以下 HTTP 动词:“GET”、“POST”、“PUT”、“DELETE”、“HEAD”、“OPTIONS”、“PATCH”和“MERGE”。系统会默认选择“GET”方法。
  • Resource - The full path to the REST resource you want to use. This field supports only strings and String variables.

其他

  • “私有”- 选中后将不再以“Verbose”级别记录变量和参数的值。

选项

  • Body - The body of the request. This field supports only strings and String variables.
  • BodyFormat - The format in which you want the body of the request to be. Most Lightning API requests accept body formats such as applicaton/json or application/xml. This field supports strings and String variables.
  • “标头”- 用于将自定义标头纳入 HTTP 请求。单击“省略号”按钮打开“标头”窗口。
  • ResultPath - The full path to where you want to save the response of the request. This field supports strings and String variables.

输出

  • Result - The response received from the API endpoint. This property is set only when the ResultPath property field is left empty. This field supports only String variables.
  • Salesforce 状态 - 操作完成后从 Salesforce 返回的状态,存储在 SalesforceStatus 变量中。 此字段仅支持 SalesforceStatus 变量。
  • StatusCode - The HTTP Status Code returned by the request, stored in an Int32 variable. This field supports only Int32 variables.
  • 属性
  • 常见
  • 输入
  • 其他
  • 选项
  • 输出

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新