POST 查询 ASN 状态

POST /apicenter/api/asn/status

Body 请求参数

  1. {
  2. "asn_number": "testck-0919-00223",
  3. "client_code": "CK2023"
  4. }

请求参数

名称 位置 类型 必选 说明
asn_number Request Body String ASN编号
client_code Request Body String 客户代码

返回示例

成功

  1. {
  2. "code": 201,
  3. "data": {
  4. "centre_code": "CKMX",
  5. "asn_number": "testck-0919-00223",
  6. "confirmed_at": "",
  7. "type": "http://demo.yunyancang.com:8878/api/print-mark?type=eyJ0eXBlIjoiMjQ5Iiwib3JkZXJfaWQiOjYwfQ=="
  8. "boxes": 1,
  9. "container": "MT-TEST-060004-a",
  10. "pallets": "",
  11. "PackCompletedTime": "",
  12. "items": [
  13. {
  14. "code": "0.01.0002",
  15. "po_date": "",
  16. "length": "1.00",
  17. "weight": "1.00",
  18. "volume": "0.000001",
  19. "po_number": "",
  20. "lot_no": "testckpno-0919-223-001",
  21. "manufacture_at": "",
  22. "qty": 100,
  23. "width": "1.00",
  24. "expire_at": "",
  25. "in_qty": 0,
  26. "barcode": "",
  27. "height": "1.00",
  28. "exist_sn": false,
  29. "detail": [
  30. {
  31. "item_number": "",
  32. "serial_number": "",
  33. "quantity": 0,
  34. "lot_no": "testckpno-0919-223-001",
  35. }
  36. ]
  37. }
  38. ],
  39. "status": "receiving"
  40. },
  41. "message": "success"
  42. }

返回结果

状态码 状态码含义 说明 数据模型
201 Created 操作成功 data 字段包含了 ASN 信息
名称 类型 说明 版本
centre_code string 仓库代码 V1
asn_number string 入库批次号 V1
confirmed_at string V1
status string 入库单状态 V1
type string 箱PDF文件URL V1
boxes integer 箱数 V2
container string 关联柜号 V2
pallets integer 托盘数 V2
PackCompletedTime string 包装完成时间 V2
items array V1
code string SKU ,ITEM_CODE物料编码 V1
po_date string V1
length BigDecimal 箱子的长度 V1
weight BigDecimal 箱子的重量 V1
volume string V1
po_number string 买家批次号 V1
lot_no string 箱号CARTON_NUMBER V1
manufacture_at string V1
qty integer 预报入库数量(计划)SHIPPED_QUANTITY: 发货数量 V1
width BigDecimal 箱子的宽度 V1
expire_at string V1
in_qty integer 实际SKU入库数量 V1
barcode string V1
height BigDecimal 箱子的高度 V1
exist_sn Boolean 是否存在序列号 V2
detail array Detailed_information: 详细信息列表 V2
item_number string ITEM_NUMBER: 物料编号 V2
serial_number string 序列号 sn编码 V2
quantity integer 实际SN入库数量 Quantity V2
lot_no integer 箱号 CARTON_NUMBER V2