UiPath Documentation
data-service
latest
false
  • 开放式 API

[Preview] Data Fabric API guide

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

从记录字段下载文件

从现有实体记录的指定字段下载文件。

API 端点

GET BaseURL/Attachment/<Entity>/{recordId}/{fieldName}

  • Depending on the cloud platform you are using, use the associated Base URL.

请求标头

页眉
授权承载 <access_token>
备注:

将尖括号 <...> 之间的所有值替换为其相应的用例值。

<access_token> 是您在授权外部应用程序时收到的。 它可用 1 小时,然后您需要生成新令牌,或请求刷新令牌。

路径变量

路径变量数据类型描述默认值
recordId (required)stringThe ID of the Data Fabric / Data Service entity's record you want to download the file from.不适用
fieldName (required)string要从中下载文件的记录所在的文件类型字段的名称。名称必须对应于有效字段,且区分大小写。不适用

响应

200 OK

401 未经授权

You are not authenticated to access Data Fabric / Data Service. Make sure your Assistant or Robot is connected to a modern folder in your account.

403 Forbidden

您无权访问实体、字段或记录,或者您使用的机器人类型不受支持。 请联系您的管理员以获取必要的权限。

  • API 端点
  • 请求标头
  • 路径变量
  • 响应
  • 200 OK
  • 401 未经授权
  • 403 Forbidden

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新