Appearance
Shipment Tracking
Shipment tracking resource is used in order to collect tracking data for specific shipments.
Resources
Method | Resource | Description |
---|---|---|
GET | /ShipmentTracking/FindAwbs/{awbs} | Returns a list of tracking header info for a list of AWBs (up to 20 distinct AWBs can be specified). |
GET | /ShipmentTracking/{id_or_awb} | Returns a list of history tracking records for the specific shipment Id or AWB number. |
Get Shipment Tracking History Examples
Return tracking header information for two shipments
GET /ShipmentTracking/FindAwbs/042000004431,042000004442
Response body
json
{
"ResultType": "Success",
"Content":
[
{
"ShipmentMasterId": "00001e92-d71e-e411-941e-000c29840282",
"ShipmentAwb": "042000004431",
"ConsigneeName": "Ιωάννης Δημητρίου",
"DeliveryDateTime": "2015-02-22T10:39:32",
"ShipmentStatus": "DeliveryCompleted"
},
{
"ShipmentMasterId": "000089eb-5419-e411-941d-000c29840282",
"ShipmentAwb": "042000004442",
"ShipmentStatus": "InTransit"
}
]
}
The two different cases are depicted in the returned data by the previous example, one where the shipment is already delivered (in this case the DeliveryDateTime and the actual ConsigneeName are also returned by the API call) and one where the shipment is still in transit. The two different cases are also distinguished by the value of ShipmentStatus property.
Return detailed tracking information for specific shipment
GET /ShipmentTracking/042000004761
Response body
json
{
"ResultType": "Success",
"Content":
{
"MainData": null,
"ItemCodes": null,
"References": null,
"TrackingData":
[
{
"StationName": "ΦΑΡΜΑΚΕΙΟ ΜΑΛΑΦΕΚΑ - ΦΙΛΛΙΠΑΚΗ",
"Timestamp": "2015-02-24T13:50:39.539136",
"TrackingNote": "Η αποστολή 042000004761 παραδόθηκε επιτυχώς"
},
{
"StationName": "ΦΑΡΜΑΚΕΙΟ ΜΑΛΑΦΕΚΑ - ΦΙΛΛΙΠΑΚΗ",
"Timestamp": "2015-02-24T13:35:17.804784",
"TrackingNote": "Όλα τα τεμάχια της αποστολής παραλήφθηκαν"
},
{
"StationName": "CLEVER MAIN HUB",
"Timestamp": "2015-02-24T12:34:31.820427",
"TrackingNote": "Η ΑΠΟΣΤΟΛΗ ΔΗΜΙΟΥΡΓΗΘΗΚΕ"
}
]
}
}
Note
The tracking records are already returned sorted by Timestamp in descending order (newest first).