版本比较

标识

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

...

字段名

数据类型

最大长度

必填性

描述

refNo


255

M

箱唛条码中可得出的数据

分为三种

1. 订单号,该种方式仅能判断箱所属

2. 订单号+后缀,可判断箱顺序与原始箱号,如果出现测量错误可以相同条码进行扫描重新传输

3. 箱号,可对应原始箱号,出现测量错误可以相同条码进行扫描重新传输

weightTime


50O

称重时间

时间格式:yyyy-MM-dd HH:mm:ss

例如:2023-10-10 13:50:44

不传时间,默认当前时间

weight
8,3M箱子重量,限制小数点后三位
length
8,2M箱子长度,限制小数点后两位
width
8,2M箱子宽度,限制小数点后两位
height
8,2M箱子高度,限制小数点后两位


请求样例


代码块
[
	{
		    {
        "refNo": "UBI230825001-1ETO2310100056",
		
        "weightTime":"2023-01-01 00:00:00",
		 "",
        "weight": "1012345678.0001234",
		
        "Length":"100.00", 		"width":"100.00"50",
		"height":"100.00" 	} 	{ 		"refNo":"UBI230825001", 		"weightTime":"2023-01-01 00:00:00", 		"weight":"10.000", 		"Length":"100.00", 		"width": "100.0040",
		
        "height": "100.0030"
	    }
]


返回样例

成功响应:

代码块
{
	"code":"0",
	"data":{
			OrderNo:"UBI230825001",
			},
	"errors":"",
	"message":"",
	"messageId":"",
	"success":true,
	"warnList":""
}

错误响应:

代码块
{
	"code":"6002240005",
	"data":"",
	"errors":[
		{
			"code":"603005",
			"message":"OrderNo not exist"8 field format is pure number, with a maximum of 3 digits before the decimal point, and a maximum of {2} digits after the decimal point. Please modify it and try again"
		}
	],
	"message":"paramter error",
	"messageId":"",
	"success":false,
	"warnList":""
}

...