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

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


Response message

 {
  "status": "Success",
  "errors": null,
  "data": {
    "bagNo": "680009900001/0055-76"
  },
  "warnings": null
}