Tracking
By External Number
URL
PROD https://api.skypostal.com
TEST https://api-test.skypostal.com
Endpoint
POST /wcf-services/service-tracking.svc/tracking/by-external-tracking
Request Parameters
Parameters | |
---|---|
| Object - Required User Info Definition. |
| String - Required Tracking number sent by client through the integration process in the field “external_tracking”. |
| String Checkpoint from which you want to retrieve the tracking. |
| String Language on which you want the checkpoint's description to be returned (ENG, ESP, POR, etc). |
| String Sets specific date format for |
User Info Definition
Parameters | |
---|---|
| Integer - Required This is the user code provided by Skypostal. |
| String - Required This is the app key provided by Skypostal. |
| String - Required This is the app key provided by Skypostal. |
Remember
user_code
, user_key
and app_key
are generic credentials, make sure to request your own for TEST
and PROD
environemnts.
The command should be run as in the following example:
{
"user_info": {
"user_code": 396,
"user_key": "",
"app_key": ""
},
"external_tracking": "TRCK-123456",
"from_checkpoint": "",
"language_iso_code": "ENG",
"date_format": ""
}
The command will return the following format:
{
"data": [
{
"_verify": true,
"trck_nmr_fol": 14887798,
"delivery_id": null,
"entry_date": "/Date(1560215160000-0400)/",
"entry_date_db": "/Date(1560267512000-0400)/",
"entry_date_db_str": "2019-06-11 11:38:32",
"entry_date_str": "2019-06-10 21:06:00",
"event_locality": "",
"iata_code": "ASU",
"image_url_signature": null,
"order_label": "",
"time_zone": "GMT-00:00",
"track_cdg": "ATC",
"track_description": "ARRIVED IN COUNTRY",
"track_description_op": "ARRIVED IN COUNTRY",
"track_obs": "postrac # 143060341633",
"track_type": "EV",
"track_type_description": "EVENT",
"additional_info": null,
"error": null
},
{
"_verify": true,
"trck_nmr_fol": 14887798,
"delivery_id": null,
"entry_date": "/Date(1559943809000-0400)/",
"entry_date_db": "/Date(1559943809000-0400)/",
"entry_date_db_str": "2019-06-07 17:43:29",
"entry_date_str": "2019-06-07 17:43:29",
"event_locality": "",
"iata_code": "MIA",
"image_url_signature": null,
"order_label": "",
"time_zone": "GMT-00:00",
"track_cdg": "MNF",
"track_description": "SHIPPED",
"track_description_op": "SHIPPED",
"track_obs": "MANIFEST #12380826",
"track_type": "EV",
"track_type_description": "EVENT",
"additional_info": null,
"error": null
}
],
"additional_info": null,
"error": null
}