GET api/Shipment?accountId={accountId}&fromDate={fromDate}&toDate={toDate}&shipmentId={shipmentId}
Datos de Shipments
Request Información
URI Parámetros
| Name | Description | Type | Additional information |
|---|---|---|---|
| accountId |
Id de Cuenta |
globally unique identifier |
Required |
| fromDate |
Fecha Desde |
date |
Required |
| toDate |
Fecha Hasta |
date |
Required |
| shipmentId | string |
None. |
Body Parámetros
None.
Response Information
Resource Description
ShipmentControllerResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Items | Collection of ShipmentResult |
None. |
|
| Error |
Error |
boolean |
None. |
| ErrorCode |
Código de Error |
string |
None. |
| ErrorDescription |
Descripción del Error |
string |
None. |
| Warnings |
Alertas sobre posibles problemas, correciones, mejoras en la información enviada. |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Items": [
{
"ShipmentId": "sample string 1",
"EventDate": "2026-11-12T04:09:26.1296265+01:00",
"ServiceType": "sample string 3",
"Depot": "sample string 4",
"TruckId": "sample string 5",
"TruckPlate": "sample string 6",
"TrailerPlate": "sample string 7",
"DriverName": "sample string 8",
"ActivityStarted": true,
"ActivityStartedAt": "2026-11-12T04:09:26.1296265+01:00",
"ActivityEnded": true,
"ActivityEndedAt": "2026-11-12T04:09:26.1296265+01:00",
"Latitude": 9.1,
"Longitude": 10.1,
"Dispatches": [
{
"DispatchOrder": 1,
"CustomerName": "sample string 2",
"OriginalEstimatedArrival": "2026-11-12T04:09:26.1296265+01:00",
"ETADistance": "sample string 3",
"ETAEstimatedArrival": "2026-11-12T04:09:26.1296265+01:00",
"DispatchStarted": true,
"DispatchEnded": true,
"Deliveries": [
{
"DeliveryId": "sample string 1",
"PurchaseDoc": "sample string 2"
},
{
"DeliveryId": "sample string 1",
"PurchaseDoc": "sample string 2"
}
]
},
{
"DispatchOrder": 1,
"CustomerName": "sample string 2",
"OriginalEstimatedArrival": "2026-11-12T04:09:26.1296265+01:00",
"ETADistance": "sample string 3",
"ETAEstimatedArrival": "2026-11-12T04:09:26.1296265+01:00",
"DispatchStarted": true,
"DispatchEnded": true,
"Deliveries": [
{
"DeliveryId": "sample string 1",
"PurchaseDoc": "sample string 2"
},
{
"DeliveryId": "sample string 1",
"PurchaseDoc": "sample string 2"
}
]
}
]
},
{
"ShipmentId": "sample string 1",
"EventDate": "2026-11-12T04:09:26.1296265+01:00",
"ServiceType": "sample string 3",
"Depot": "sample string 4",
"TruckId": "sample string 5",
"TruckPlate": "sample string 6",
"TrailerPlate": "sample string 7",
"DriverName": "sample string 8",
"ActivityStarted": true,
"ActivityStartedAt": "2026-11-12T04:09:26.1296265+01:00",
"ActivityEnded": true,
"ActivityEndedAt": "2026-11-12T04:09:26.1296265+01:00",
"Latitude": 9.1,
"Longitude": 10.1,
"Dispatches": [
{
"DispatchOrder": 1,
"CustomerName": "sample string 2",
"OriginalEstimatedArrival": "2026-11-12T04:09:26.1296265+01:00",
"ETADistance": "sample string 3",
"ETAEstimatedArrival": "2026-11-12T04:09:26.1296265+01:00",
"DispatchStarted": true,
"DispatchEnded": true,
"Deliveries": [
{
"DeliveryId": "sample string 1",
"PurchaseDoc": "sample string 2"
},
{
"DeliveryId": "sample string 1",
"PurchaseDoc": "sample string 2"
}
]
},
{
"DispatchOrder": 1,
"CustomerName": "sample string 2",
"OriginalEstimatedArrival": "2026-11-12T04:09:26.1296265+01:00",
"ETADistance": "sample string 3",
"ETAEstimatedArrival": "2026-11-12T04:09:26.1296265+01:00",
"DispatchStarted": true,
"DispatchEnded": true,
"Deliveries": [
{
"DeliveryId": "sample string 1",
"PurchaseDoc": "sample string 2"
},
{
"DeliveryId": "sample string 1",
"PurchaseDoc": "sample string 2"
}
]
}
]
}
],
"Error": true,
"ErrorCode": "sample string 2",
"ErrorDescription": "sample string 3",
"Warnings": "sample string 4"
}