页面树结构

版本比较

标识

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

...

字段


必填/可选

长度

描述

batchNo


O

80

批次号

handoverTime


O


交接时间(YYYY-MM-DD'T'HH:MM:SSZ)

consignor


O

80

发货人

consignee


O

80

收货人

driver


O

80

司机

plateNbr


O

80

车牌号

remark


O

Double

备注

bags






bagNo

M


大包


serviceCode

M
服务代码

facility

O


destCountry

M
大袋目的国家

sortCode

O
大袋分拣码

battery

O
大袋带电

totalWeight

M
大袋总重

GrossWeightO
大袋毛重















parcels






trackingNo

M
订单跟踪号

响应内容

...

代码块
languagejava
firstline1
titleRequest
linenumberstrue
{
    "bags": [
      {
        "bagNo": "20201102001-001",
        "battery": false,
        "sortCode": "",
        "destCountry": "AU",
        "facility": "CAN",
        "parcels": [
          {
            "trackingNo": "JDQ002447301000931502"
          }
        ],
        "serviceCode": "UBI.ASP.CN2AU.AUPOST",
        "totalWeight": 0.064
      }
    ],
    "batchNo": "ZXYD1016617",
    "handoverTime": "2020-08-10T11:45:22+08:00"
  }

3. 大包与新订单及已有订单进行关联
代码块
languagejava
firstline1
titleRequest
linenumberstrue
{
    "batchNo": "20200810001",
    "handoverTime": "2020-08-11T22:08:08+080008:00",
    "consignor": "test",
    "consignee": "test",
    "driver": "张三",
    "plateNbr": "沪A8888",
    "remark": "测试",
    "bags": [{
        "bagNo": "20201102001-001",
        "serviceCode": "UBI.ASP.CN2AU.AUPOST",
        "facility": "SZX",
        "destCountry": "AU",
        "sortCode": "YYZ",
        "battery": false,
        "totalWeight": 0.3,
        "extendData": {
            "sortCode": "M1A1"
         },
        "parcels": [{
            "referenceNo": "TESTBDAU15303483645716"
        }]
    }, {
        "bagNo": "20171102001-002",
        "serviceCode": "UBI.ASP.CN2AU.AUPOST",
        "facility": "SZX",
        "destCountry": "AU",
        "sortCode": "YYZ",
        "battery": false,
        "totalWeight": 0.3,
        "parcels": [{
            "referenceNo": "TESTBDAU15303483645717",
            "serviceCode": "UBI.ASP.CN2AU.AUPOST",
            "recipientName": "WUBIN",
            "phone": "+49 3068838320",
            "addressLine1": "Stellingdamm 9",
            "addressLine2": "",
            "city": "Cudgewa",
            "postcode": "3705",
            "state": "VIC",
            "country": "AU",
            "weight": 0.646,
            "invoiceCurrency": "USD",
            "batteryType": "No Battery",
            "description": "Pants",
            "nativeDescription": "货物中文描述",
            "extendData": {
                "vendorid": "6465201 6681",
                "gstexemptioncode": "Paid"
            },
            "orderItems": [{
                "itemNo": 1,
                "sku": "159110805",
                "description": "Pants",
                "hsCode": "6104620050",
                "originCountry": "CHINA",
                "unitValue": "38.44",
                "itemCount": 2
            }],
            "invoiceValue": "76.88"
        }]
    }]
}

...