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 Type | Length | Mandatory | Details | |||||||
1 | length | Double | O | length | ||||||||
2 | weight | Double | M | weight(>0.01),Unit:KG | ||||||||
3 | width | Double | O | width | ||||||||
4 | bagNo | String | 40 | M | Bag number | |||||||
5 | height | Double | O | height |
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 | String | O | Warning 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 }