Description
The carrier is used to sort parcels. |
Path
HTTP Verb | URL |
---|---|
Post | /services /integration/carrier/sortation |
Request field
# | Field (API) | Data Type | Length | Mandatory | Details | |||||||
1 | barcode | String | 40 | M | hebarcodeonthescannedlabel,if |
Response content
Field | Type | Mandatory/Optional | Description | |
status |
| Enumeration | M | Success/Failure |
errors |
| Arrays | O | Errors |
data |
| Objects | M | OperationalData |
| barcode | String | M | Requestedbarcode |
| serviceName | String | M | Servicename |
| destinationCountry | String | M | ISOcode |
| serviceOption | String | O | Serviceoption |
| battery | Boolean | M | Withorwithoutbattery (default:0) 0:without 1:with |
| sortationStatus | Enumeration | M | Sortationstatus: 3.despatched |
| bagNo | String | O | Bagnumber.IfsortationStatus |
| sortCode | String | M | Servicesortationcode |
warnings |
| String | O | Warningmessage |
...
Request message
代码块 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
{ "barcode": "JDQ002640401000931504;4006318030224108" } |
...
Response message
代码块 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{ "status": "Success", "errors": null, "data": [ { "serviceOption": "E-Parcel", "bagNo": "INTSYBNE20210729006853", "serviceName": "AU Post eParcel", "battery": "0", "destinationCountry": "AU", "barcode": "JDQ002640401000931504", "sortCode": "BNE", "sortationStatus": "1" } ], "warnings": null } |
...