/basicOpen/report/purchase/buyer/list{
"operation": {
"method": "POST",
"path": "/basicOpen/report/purchase/buyer/list"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": {
"offset": 0,
"length": 20,
"start_date": "2023-05-01",
"end_date": "2023-07-30",
"time_type": 1,
"product_type": [
1,
2,
3
]
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | offset | 分页偏移量 | integer | — | Optional | 分页偏移量,默认0 |
| 2 | length | 分页长度 | integer | — | Optional | 分页长度,默认20,上限200 |
| 3 | start_date | 开始日期【时间间隔最长不得超过90天】 | string | — | Optional | 开始日期【时间间隔最长不得超过90天】,闭区间,格式:Y-m-d |
| 4 | end_date | 结束日期【时间间隔最长不得超过90天】 | string | — | Optional | 结束日期【时间间隔最长不得超过90天】,闭区间,格式:Y-m-d |
| 5 | time_type | 时间类型 | integer | — | Optional | 时间类型:1 下单时间,2 到货时间 |
| 6 | product_type | 产品类型 | array<any> | — | Optional | 产品类型: 1 普通产品 2 组合产品 3 辅料 |
| 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 | 77ac259a67d5462594c83b80669b6eae.1692331008758 | Required | 请求链路id |
| 5 | response_time | 响应时间 | string | 2023-08-18 11:56:49 | Required | 响应时间 |
| 6 | total | 总数 | integer | 200 | Required | 总数 |
| 7 | data | 响应数据 | array<object> | — | Required | 响应数据 |
| 7.1 | buyer_name | 采购员 | string | 管理员 | Required | 采购员 |
| 7.2 | warehouse_name | 仓库名称 | array<any> | ["仓库s1","仓库k2"] | Required | 仓库名称 |
| 7.3 | purchase_quantity | 采购量 | string | 2672442 | Required | 采购量 |
| 7.4 | receive_quantity | 到货量 | string | 2661838 | Required | 到货量 |
| 7.5 | wait_quantity | 待到货量 | string | 10604 | Required | 待到货量 |
| 7.6 | good_quantity | 良品量 | string | 2658361 | Required | 良品量 |
| 7.7 | bad_quantity | 次品量 | string | 5 | Required | 次品量 |
| 7.8 | return_quantity | 退货量 | string | 0 | Required | 退货量 |
| 7.9 | purchase_amount | 订单金额 | string | 291817.77 | Required | 订单金额 |
| 7.10 | receive_amount | 到货金额 | string | 51.25 | Required | 到货金额 |
| 7.11 | wait_amount | 待到货金额 | string | 291766.52 | Required | 待到货金额 |
| 7.12 | return_amount | 退货金额 | string | 0.00 | Required | 退货金额 |
| 7.13 | bad_rate | 次品率 | string | 0.02% | Required | 次品率 |
| 7.14 | return_rate | 退货率 | string | 0.05% | Required | 退货率 |
| 7.15 | overdue_quantity | 逾期数量 | string | 7490 | Required | 逾期数量 |
| 7.16 | overdue_time | 逾期时长 | string | 6882天9小时 | Required | 逾期时长 |
| 7.17 | overdue_quantity_rate | 逾期率(按采购量) | string | 68.79% | Required | 逾期率(按采购量) |
| 7.18 | overdue_time_avg | 平均逾期时长 | string | 132天9小时 | Required | 平均逾期时长 |
| 7.19 | overdue_order_rate | 逾期率(按采购单量) | string | 3.64% | Required | 逾期率(按采购单量) |
| 7.20 | overdue_order_quantity | 逾期采购单量 | string | 21 | Required | 逾期采购单量 |
| 7.21 | order_time_avg | 平均下单时长 | string | 14天10小时 | Required | 平均下单时长 |
| 7.22 | order_count | 采购单量 | string | 20 | Required | 采购单量 |
| 7.23 | exchange_quantity | 换货量 | string | 200 | Required | 换货量 |
The 查询采购报表列表 - 采购员 API (/basicOpen/report/purchase/buyer/list) 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.