...
HTTP Verb | URL |
---|---|
Post | /services/integration/carrier/trackingEvents |
RequestParameter
# | Field | Mandatory/Optional | length | Description |
---|---|---|---|---|
1 | trackingNo | M | 40 | Trackingnumber |
2 | eventTime | M | Date | Timewhentheeventhappens |
3 | eventCode | M | 8 | Eventcode |
4 | activity | O | 256 | Descriptionoftheevent |
5 | location | O | 60 | Location |
Request field
/
Response Parameter
# | Field | Type | Mandatory/Optional | Description |
1 | status | Enumeration | M | Success/Failure |
2 | errors | Arrays | O | Return errors. Please refer to the following code and message. |
3 | data | Objects | O | Operational Data |
4 | warnings | String | O | Warning message |
Error Message
code | message |
520005 | trackingNo is empty,please check |
520006 | eventTime is empty,please check |
520007 | eventCode is empty,please check |
Request message
代码块 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
[ { "trackingNo": "BRF0000013011420", "eventTime": "2022-12-21T08:01:02", "eventCode": "SCN", "activity": "Item despatched to Transshipment hub", "location": "SHANGHAI" } ] |
Response message
...
代码块 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
{
"status": "Success",
"errors": [
{
"code": 0,
"message": ""
}
],
"data": null,
"warnings": null
} |