查询指定日期入库单信息
1、功能名称:查询指定日期入库单信息
2、功能描述:查询指定日期入库单信息
3、请求地址:https://ssl.glitzcloud.com/agent/v1/asn/storage/getrecord
测试地址:http://gztest.glitzcloud.com/agent/v1/asn/storage/getrecord
4、请求方式:POST
5、请求参数
| 名称 | 类型 | 必填 | 示例值 | 更多示例 | 描述 |
|---|---|---|---|---|---|
| store_name | String | 是 | The Warehouse USA | 仓库名称 | |
| date | String | 是 | 2025-06-01 | 2025-06-01,2025-06-30 | 支持日期区间最多30天 |
6、请求示例
{
"apikey": "d661bb3e817111e693f10063e06045f",
"secretkey": "d661bb75817111e69f100163e06045f",
"date": "2025-10-01",
"store_name": "TWUSA-Dallas",
"sign": "3788e15e7795c489febcb28e2393fe1"
}
7、返回格式:JSON
8、返回示例:
正确时的返回JSON数据包如下:
{
"status": 200,
"reqMsg": "ok",
"result": [
{
"sn": "GCI09092500002",
"status": "Reconciled",
"receive_time": "2025-10-01 00:21:40",
"arrival_time": "1759236317",
"isputawayfinish": "1",
"info": [
{
"product_id": "360132",
"product_sn": "6926783220920",
"exp_piece_qty": "35",
"act_piece_qty": "35",
"good_qty": "35",
"bad_qty": 0
},
{
"product_id": "360133",
"product_sn": "6926783220937",
"exp_piece_qty": "50",
"act_piece_qty": "50",
"good_qty": "50",
"bad_qty": 0
}
]
},
{
"sn": "GCI09222500003",
"status": "Reconciled",
"receive_time": "2025-10-01 00:39:23",
"arrival_time": "1759249753",
"isputawayfinish": "1",
"info": [
{
"product_id": "238358",
"product_sn": "6941327103040",
"exp_piece_qty": "50",
"act_piece_qty": "50",
"good_qty": "50",
"bad_qty": 0
},
{
"product_id": "238357",
"product_sn": "6941327103033",
"exp_piece_qty": "80",
"act_piece_qty": "80",
"good_qty": "80",
"bad_qty": 0
}
]
}
]
}
错误时的返回JSON数据包如下:
{"status":2045,"reqMsg":"Invalid DateFormat","result":[]}
9、返回参数说明:
| 参数 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| sn | String | GCI16091800002 | 入库单号 |
| status | String | Reconciled | 入库单状态 Pending:待入库 Received:已收货 Cancelled:已取消 Reconciled:已完成 |
| receive_time | String | 2017-07-01 12:10:11 | 收货时间 |
| product_sn | String | testk833 | 产品编号 |
| exp_piece_qty | Integer | 10 | 产品预报数量 |
| act_piece_qty | Integer | 9 | 产品实际数量 |
| good_qty | Integer | 5 | 产品合格数量 |
| bad_qty | Integer | 4 | 产品不合格数量 |
