Retrack an air cargo tracking
# Endpoint
POST https://api.track123.com/gateway/open-api/tk/v1/aviation/track/refresh
# Interface description
Each tracking number can be refreshed only once within 6 hours, and repeated calls are invalid. This method will return whether the operation is valid and the actual refresh time.
# Request parameter
Name | Description | Required | Data type |
---|---|---|---|
trackingNo | Tracking number | true | string |
carrierCode | The unique carrier code | true | String |
# Request example
{
"trackingNo": "369-84941043",
"carrierCode": "atlasair"
}
# Response parameter
Name | Description | Type |
---|---|---|
code | Service status code | string |
msg | The description information corresponding to the service status code or other auxiliary description information. | string |
data | Object actually returned | array[object] |
actualRefreshTime | Actual refresh time | string |
success | Successful execution | boolean |
# Response example
{
"code": "00000",
"data": {
"success": true,
"actualRefreshTime": "2022-12-13 20:25:22"
},
"msg": "成功",
"traceId": "6058fd26a116449899a3b98c6a52547a.147.16709343224890655"
}