创建提货单


POST https://openapi.chukou1.cn/v1/directExpressOrders/billOfLading
接口说明: 创建提货单
Http 200 - 成功
Http 400 - 提交的数据有误,请检查

输入参数

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

满足正则: ^[a-zA-Z0-9\-_]*$

长度: 0 ~ 50

必须

主单号(提单号)

888-11164931

BolType string

满足正则: ^[a-zA-Z0-9\-_]*$

长度: 0 ~ 50

必须

提单类型

固定填 Airway

DepFlight string

满足正则: ^[a-zA-Z0-9]{4,7}$

起飞航班号

NZ4905

TraFlight string

满足正则: ^[a-zA-Z0-9]{4,7}$

中转航班号

NZ4906

ArrFlight string

满足正则: ^[a-zA-Z0-9]{4,7}$

落地航班号

NZ4907

Origin string

None.

必须

始发地机场

Destination string

None.

必须

目的地机场

ETD string

None.

必须

预计离港时间,格式yyyy-MM-dd HH:mm:ss

ETA string

None.

必须

预计到港时间,格式yyyy-MM-dd HH:mm:ss

Weight decimal number

None.

必须

重量(KG,保留3位小数)

BolFile string

None.

必须

提单正本pdf文件 base64

BoxInfos Collection of LogisticsBoxInfo

None.

必须

货物信息

输入参数的json形式
{
  "BolNumber": "sample string 1",
  "BolType": "sample string 2",
  "DepFlight": "sample string 3",
  "TraFlight": "sample string 4",
  "ArrFlight": "sample string 5",
  "Origin": "sample string 6",
  "Destination": "sample string 7",
  "ETD": "sample string 8",
  "ETA": "sample string 9",
  "Weight": 10,
  "BolFile": "sample string 11",
  "BoxInfos": [
    {
      "BoxNumber": "sample string 1",
      "Weight": 2,
      "Length": 3,
      "Width": 4,
      "Height": 5,
      "PackageInfos": [
        {
          "PackageId": "sample string 1",
          "TrackingNumber": "sample string 2"
        },
        {
          "PackageId": "sample string 1",
          "TrackingNumber": "sample string 2"
        }
      ]
    },
    {
      "BoxNumber": "sample string 1",
      "Weight": 2,
      "Length": 3,
      "Width": 4,
      "Height": 5,
      "PackageInfos": [
        {
          "PackageId": "sample string 1",
          "TrackingNumber": "sample string 2"
        },
        {
          "PackageId": "sample string 1",
          "TrackingNumber": "sample string 2"
        }
      ]
    }
  ]
}

返回结果

None.