data-service
latest
false
[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) | string | The 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
您无权访问实体、字段或记录,或者您使用的机器人类型不受支持。 请联系您的管理员以获取必要的权限。