GET api/Track/GetRecentDeliveries/{UserGUID}
Used to retrieve the recent deliveries
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
UserGUID |
Unique system generated user identifier |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
RecentDeliveriesRespName | Description | Type | Additional information |
---|---|---|---|
RecentDeliveries |
List of recently delivered shipments |
Collection of RecentDeliveriesItem |
None. |
IsSuccessful |
If true, then method call was successful |
boolean |
None. |
ErrorMessage |
Contains an error message is method call failed |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "RecentDeliveries": [ { "ShipmentGUID": "sample string 1", "ShipmentNumber": 2, "TrackingNumber": "sample string 3", "OrderDateTime": "2024-12-28T09:25:10.353182+00:00", "Reference": "sample string 5", "OrderByName": "sample string 6", "PickupAddress": "sample string 7", "DeliveryAddress": "sample string 8", "OrderStatusName": "sample string 9", "PodDateTime": "2024-12-28T09:25:10.353182+00:00", "PodSignature": "sample string 10", "TrackingUrl": "/Secure/TrackOrder.aspx?ShipmentGUID=sample string 1&TrackingNumber=sample string 3" }, { "ShipmentGUID": "sample string 1", "ShipmentNumber": 2, "TrackingNumber": "sample string 3", "OrderDateTime": "2024-12-28T09:25:10.353182+00:00", "Reference": "sample string 5", "OrderByName": "sample string 6", "PickupAddress": "sample string 7", "DeliveryAddress": "sample string 8", "OrderStatusName": "sample string 9", "PodDateTime": "2024-12-28T09:25:10.353182+00:00", "PodSignature": "sample string 10", "TrackingUrl": "/Secure/TrackOrder.aspx?ShipmentGUID=sample string 1&TrackingNumber=sample string 3" } ], "IsSuccessful": true, "ErrorMessage": "sample string 2" }
application/xml, text/xml
Sample:
<RecentDeliveriesResp xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <IsSuccessful>true</IsSuccessful> <ErrorMessage>sample string 2</ErrorMessage> <RecentDeliveries> <RecentDeliveriesItem> <ShipmentGUID>sample string 1</ShipmentGUID> <ShipmentNumber>2</ShipmentNumber> <TrackingNumber>sample string 3</TrackingNumber> <OrderDateTime>2024-12-28T09:25:10.353182+00:00</OrderDateTime> <Reference>sample string 5</Reference> <OrderByName>sample string 6</OrderByName> <PickupAddress>sample string 7</PickupAddress> <DeliveryAddress>sample string 8</DeliveryAddress> <OrderStatusName>sample string 9</OrderStatusName> <PodDateTime>2024-12-28T09:25:10.353182+00:00</PodDateTime> <PodSignature>sample string 10</PodSignature> </RecentDeliveriesItem> <RecentDeliveriesItem> <ShipmentGUID>sample string 1</ShipmentGUID> <ShipmentNumber>2</ShipmentNumber> <TrackingNumber>sample string 3</TrackingNumber> <OrderDateTime>2024-12-28T09:25:10.353182+00:00</OrderDateTime> <Reference>sample string 5</Reference> <OrderByName>sample string 6</OrderByName> <PickupAddress>sample string 7</PickupAddress> <DeliveryAddress>sample string 8</DeliveryAddress> <OrderStatusName>sample string 9</OrderStatusName> <PodDateTime>2024-12-28T09:25:10.353182+00:00</PodDateTime> <PodSignature>sample string 10</PodSignature> </RecentDeliveriesItem> </RecentDeliveries> </RecentDeliveriesResp>