接口文档 / 商品接口
获取采购单详情
响应参数
| 名称 | 说明 | 类型 |
|---|---|---|
| Body 参数 | ||
data可选 | object | |
comment可选 | object | |
id可选 | integer | |
orderNo可选 | string | |
purchaseOrderItemList可选 | array<object> | |
status可选 | integer | |
supplierId可选 | string | |
orderType可选 | integer | |
supplier可选 | string | |
purchaseOrganName可选 | string | |
receiveOrganId可选 | string | |
purchaseOrganId可选 | string | |
receiveOrganName可选 | string | |
applyEmployeeId可选 | string | |
applyEmployeeName可选 | string | |
purchaseOrderDate可选 | string | |
created可选 | string | |
error可选可为空 | object | |
响应示例
{
"data": {
"comment": {
"time": "2026-01-01T00:00:00Z",
"content": "string",
"employeeId": "string",
"employeeName": "string"
},
"id": 0,
"orderNo": "CG2024110600001",
"purchaseOrderItemList": [
{
"id": 123123,
"productId": "ffffffff000000003473c049d7ab4000",
"productShortId": "000251",
"productName": "阿莫西林胶囊",
"pieceCount": 0,
"packageCount": "盒"
}
],
"status": 0,
"supplierId": "ffffffff0000000034af4ae82d69c000",
"orderType": 0,
"supplier": "测试供应商",
"purchaseOrganName": "string",
"receiveOrganId": "ffffffff0000000034d6d4adbec04000",
"purchaseOrganId": "string",
"receiveOrganName": "abc",
"applyEmployeeId": "string",
"applyEmployeeName": "string",
"purchaseOrderDate": "2024-11-06 16:51:03",
"created": "2024-11-06 16:51:03"
},
"error": null
}业务失败包装示意
{
"data": null,
"error": {
"code": 11003,
"message": "不支持的授权类型{grantType}"
}
}