页面树结构
转至元数据结尾
转至元数据起始

正在查看旧版本。 查看 当前版本.

与当前比较 查看页面历史

版本 1 当前 »

Description

Carrier are used to scan bags and uplod the bags' information: length, width, height and weight.

Path

HTTP Verb 

URL

Post/services /integration/carrier/scanBag

Request field

#Field (API)Data TypeLengthMandatoryDetails
1lengthDouble
O

length

2weightDouble
Mweight(>0.01),Unit:KG
3widthDouble
Owidth
4bagNoString40MBag number
5heightDouble
Oheight


Response content

Field

Type

Mandatory/Optional

Description

status

 

Enumeration

M

Success/Failure

errors

 

Arrays

O

Errors

data

 

Objects

O

Operational Data

 

bagNo

String

O

Bag number

warnings
StringOWarning message


Request message

Request
{
  "length": 50,
  "weight": 11.776,
  "width": 40,
  "bagNo": "680009900001/0055-76",
  "height": 60
} 

Response message

Response
 {
  "status": "Success",
  "errors": null,
  "data": {
    "bagNo": "680009900001/0055-76"
  },
  "warnings": null
}
  • 无标签