获取清关箱标


POST https://openapi.chukou1.cn:81/v1/directExpressOrders/boxlabel
接口说明: 获取清关箱标
Http 200 - 成功
Http 400 - 提交的数据有误,请检查

输入参数

Body Parameters
名称类型格式要求是否必须描述示例值
BoxNo string

None.

必须

箱号(第三方系统自定义箱号)

Weight decimal number

None.

必须

箱子重量(KG)

Length decimal number

浮点数格式: 8,2

长(cm)

25

Width decimal number

浮点数格式: 8,2

宽(cm)

10

Height decimal number

浮点数格式: 8,2

高(cm)

20

CloseDatetime string

None.

必须

关箱时间(yyyy-MM-dd HH:mm:ss)

CountryCode string

None.

必须

目的国家(二字码)

BoxItems Collection of BoxItem

None.

必须

箱子里面的包裹明细

输入参数的json形式
{
  "BoxNo": "sample string 1",
  "Weight": 2,
  "Length": 3,
  "Width": 4,
  "Height": 5,
  "CloseDatetime": "sample string 6",
  "CountryCode": "sample string 7",
  "BoxItems": [
    {
      "TrackingNumber": "sample string 1",
      "Weight": 2
    },
    {
      "TrackingNumber": "sample string 1",
      "Weight": 2
    }
  ]
}

返回结果

名称类型格式要求是否必须描述示例值
Success boolean

None.

成功

Message string

None.

报错信息

ScanNo string

None.

条码

Label string

None.

Base64 编码,需要转换成byte数据,再生成pdf文件

返回结果的json形式
{
  "Success": true,
  "Message": "sample string 2",
  "ScanNo": "sample string 3",
  "Label": "sample string 4"
}