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 | he barcode on the scanned label, if |
Response content
Field | Type | Mandatory/Optional | Description | |
status |
| Enumeration | M | Success/Failure |
errors |
| Arrays | O | Errors |
data |
| Objects | M | Operational Data |
| barcode | String | M | Requested barcode |
| serviceName | String | M | Service name |
| destinationCountry | String | M | ISO code |
| serviceOption | String | O | Service option |
| battery | Boolean | M | With or without battery (default:0) 0: without 1: with |
| sortationStatus | Enumeration | M | Sortation status: 3. despatched |
| bagNo | String | O | Bag number. If sortationStatus |
| sortCode | String | M | Service sortation code |
warnings |
| String | O | Warning message |
请求报文
Request
{ "barcode": "JDQ002640401000931504;4006318030224108" }
响应报文
Response
{ "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 }