接口说明
The carrier are used to push tracking information. |
Path
HTTP Verb | URL |
---|---|
Post | /services/integration/carrier/bagging |
Request field
# | Field (API) | Data Type | Length | Mandatory | Details | |||||||
1 | barcode | String | 40 | M | Thebarcodeonthescanned | |||||||
2 | bagNo | String | 40 | M | Bagnumber | |||||||
3 | operatingAccount | String | 40 | O | TheaccountofoperatorineTower |
Response content
Field | Type | Mandatory/ | Description | |||||
status |
| Enumeration | M | Success/Failure | ||||
errors |
| Arrays | O | Errors
| ||||
data |
| Objects | M | OperationalData | ||||
| trackingNo | String | M | Trackingnumber | ||||
| bagNo | String | M | Bagnumber,If the package has been bagged, return the correct bag number in the system | ||||
| baggingStatus | Enumeration | M | Baggingstatus: 3.despatched |
Request message
代码块 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
{ "barcode": "BJR2048503011420", "bagNo": "DEMOSYD20210315123456", "operatingAccount": "test.li@buylogic.cc" } |
Response message
代码块 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{ "status": "Success", "errors": null, "data": { "trackingNo": "LVS2020933301951164N1", "bagNo": "680009900001/0055-76", "baggingStatus": 9 } } |
Bagnumber