/erp/sc/routing/common/file/download{
"operation": {
"method": "POST",
"path": "/erp/sc/routing/common/file/download"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"responseExample": {
"code": 0,
"message": "success",
"error_details": [],
"request_id": "100CF568-0228-E962-B810-82EAA06EA7CC",
"response_time": "2023-05-24 10:21:07",
"data": {
"file_name": "16327122625224.xlsx",
"mime_type": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"content": "UEsDBBQ2a9j72XrfcmVscysACwDRAgAAYBYAAAAAxxxxxxxxxxxxx"
},
"total": 0
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | file_id | 附件id【取对应功能接口返回结果中的附件id值】 | integer | — | Required | 附件id【取对应功能接口返回结果中的附件id值】 |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | Required | 状态码,0 成功 |
| 2 | message | 提示消息 | string | success | Required | 提示消息 |
| 3 | error_details | 错误信息 | array<any> | — | Required | 错误信息 |
| 4 | request_id | 请求链路id | string | 100CF568-0228-E962-B810-82EAA06EA7CC | Required | 请求链路id |
| 5 | response_time | 响应时间 | string | 2023-05-24 10:21:07 | Required | 响应时间 |
| 6 | total | 总数 | integer | 0 | Required | 总数 |
| 7 | data | 响应数据 | object | — | Required | 响应数据 |
| 7.1 | file_name | 文件名 | string | 16327122625224.xlsx | Required | 文件名 |
| 7.2 | mime_type | 文件类型 | string | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | Required | 文件类型 |
| 7.3 | content | base64 编码的文件内容 | string | UEsDBBQ2a9j72XrfcmVscysACwDRAgAAYBYAAAAAxxxxxxxxxxxxx | Required | base64 编码的文件内容 |
The 下载附件 API (/erp/sc/routing/common/file/download) of 领星ERP is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 领星ERP version updates.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.