版本比较

标识

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

...

POST  /api/supplier-service/v1/b2b/asn     HTTP/1.1

Host: http://cfs-qa.etowertech.com/
Content-Type: application/json
Accept: application/json

User-Agent: Mozilla 5.0

Host: http://cfs-qa.etowertech.com/
Authorization:WallTech etotest8xkIIphLnbkjRACNj4P:pc9H97D-_b2_TSCVvNj81A
X-WallTech-Date:
Thu
Tue,
06 Aug 2020
 02 Aug 2022 06:
21
43:
24
37 GMT

Authorization: WallTech testLvs2jdug2qIoRsJyuxs:2THPh5_j4OTYUGdinstTC4nYqDE=

字段

字段名

数据类型

最大长度

必填性

描述

shipMethod


10

M

头程运输入仓类型

头程运输入仓类型:目前只有:“自有服务”:1

目前只有:“自有服务”:1
shipDate
warehouseCode


O
删掉
发出时间
50

billOfLading

M

目的仓代码

为什么还要传?:感觉可以不传

shipDate发出时间(新增)

billOfLading

提单号(新增)


O提单号
eta
20M预计到达时间
remark
200OASN备注
运输类型

lastMailType

transportationType



10M

入库运输类型

快递:1

卡车:2

入库运输类型:快递:1;卡车:2

运输类型 = 快递类型
expressNoList
50C

快递单号

当入库运输类型为快递时,必填

可以有多个快递单号

快递单号(可多组):当入库运输类型为快递时,必填

运输类型 = 卡车类型
truckType
10C

卡车类型

海运散柜:2

铁运整柜:3

铁运散柜:4

卡车类型:当入库运输类型为卡车时,必填

海运整柜:

1

1;海运散柜:2;铁运整柜:3;铁运散柜:4

当卡车运输的柜子类型 = 整柜类型(可多组)
containerType
10M

装箱规格:

20GP:1

40GP:2

40HQ:3

45HQ:4

40RH:5

装箱规格:20GP:1;;40GP:2;40HQ:3;45HQ:4;40RH:5

quantity
10M集装箱数量
containerNo

M柜号
(新增)
当卡车运输的柜子类型 = 散柜(仅一组)
volume
10M总体积CBM
volumeUnit

M目前只能是CBM
(新增)
weight
10M总重量KG
weightUnit

M目前只能是KG
(新增)palletCount

palletQty


10M托盘数量
expressNoList

M
快递单号(新增)只传一个
快递单号(只支持传一个)
入库单信息

poNoList


50

M

入库单

入库单(建议传一个


备注


代码块
备注:
1、字段shipmethod请固定传1
2、字段LastMileType可选值为"1"(express)、"2"(Truck)
	2.1、当选用1时,字段expressnolist为必填项,可多组
	2.2、当选用2时,字段TruckType为必填项
		字段TruckType可选值为"1"(海运整柜)、"2"(海运散柜)、"3"(铁运散柜)、"4"(铁运散柜)
		当选用1/3时,字段ContainerInfoList为必填项
		当选用2/4时,字段Volume、Weight、palletcount、expressnolist(只能是一个)为必填项
		字段containerType可选值为"1"(20GP)、"2"(40GP)、"3"(40HQ)、"4"(45HQ)、"5"(40RH)

...

代码块
1、入库类型为快递单:
{
    "shipMethod": 1,
    "eta": "2023-03-14 09:37:48",
    "poNoList": [
        "test030741"
    ],
    "remark": "1234567890",
    "lastMailType": 1,
    "truckType": null,
    "palletCount": null,
    "weight": null,
    "weightUnit":"KG",
    "volume": null,
    "volumeUnit":"CBM",
    "expressNoList": [
       1
    ],
    "containerInfoList": [
        {
            "containerType": null,
            "quantity": null,
            "containerNo": null
        },
        {
            "containerType": null,
            "quantity": null,
            "containerNo": null
        }
    ],
    "shipDate": "2023-03-07 15:15:48",
    "billOfLading": "提单号"
}
2、入库类型为卡车单:
{
    "shipMethod": 1,
    "eta": "2023-03-14 09:37:48",
    "poNoList": [
        "test030749",
        "test030742test030750"
    ],
    "remark": "1234567890",
    "lastMailType": 2,
    "truckType": 1,
    "palletCount": 1,
    "weight": 2,
    "weightUnit":"KG",
    "volume": 1,
    "volumeUnit":"CBM",
    "expressNoList": [
       "11231"
    ],
    "containerInfoList": [
        {
            "containerType": 5,
            "quantity": 2,
            "containerNo": 5
        },
        {
            "containerType": 4,
            "quantity": 2,
            "containerNo": 5
        }
    ],
    "shipDate": "2023-03-07 15:15:48",
    "billOfLading": "提单号"
}

...