Description
The operation station is used to detain the package and update the package status |
Path
HTTP Verb | URL |
---|---|
Post | /services/integration/carrier/hold |
Request field
# | Field (API) | Data Type | Length | Mandatory | Details | |
1 | holdTime | String | 80 | M | time when parcel is detained
| |
2 | holdType | Number | 20 | M | holdType 23 Held for weight difference | |
3 | operatingAccount | String | 40 | M | operator account in eTower | |
4 | barcode | String | 64 | M | trackingNo |
Response content
a) status:Succeeded/Failed
b) code:
140001 | Barcode doesn’t exist |
100011 | Do not have permission to operate parcel (Incorrect account / Incorrect |
100009 | Shipment doesn’t exist |
c) Time format:yyyy-MM-dd'T'HH:mm:ssZ
Request message
Request
{ "barcode": "BJR2048503011420", "holdTime": "2016-05-10T19:22:47+0800", "holdType": 10, "operatingAccount": "test.li@buylogic.cc" }
Response message
Response
{ "status": "Succeeded", "code": 0 }