GET api/v1/{tokenClient}/getMileStoneForVehicle?start={start}&end={end}&vehicleExternalCode={vehicleExternalCode}&sampling={sampling}
récupération des données kilométriques de date à date
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| tokenClient |
Id client |
globally unique identifier |
Required |
| start |
le début de la période (format: MM/dd/yyyy HH:mm:ss) |
date |
Required |
| end |
la fin de la période (format: MM/dd/yyyy HH:mm:ss) |
date |
Required |
| vehicleExternalCode |
Id véhicule |
globally unique identifier |
Required |
| sampling |
Échantillonnage en minutes.. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of VehicleMilestoneDto| Name | Description | Type | Additional information |
|---|---|---|---|
| DateTimeUtc | string |
None. |
|
| Mileage | decimal number |
None. |
|
| Longitude | decimal number |
None. |
|
| Latitude | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"DateTimeUtc": "sample string 1",
"Mileage": 1.1,
"Longitude": 2.1,
"Latitude": 3.1
},
{
"DateTimeUtc": "sample string 1",
"Mileage": 1.1,
"Longitude": 2.1,
"Latitude": 3.1
}
]
application/xml, text/xml
Sample:
<ArrayOfVehicleMilestoneDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/B2Fleet.Web.Models.WebApi">
<VehicleMilestoneDto>
<DateTime>sample string 1</DateTime>
<Latitude>3.1</Latitude>
<Longitude>2.1</Longitude>
<MileStone>1.1</MileStone>
</VehicleMilestoneDto>
<VehicleMilestoneDto>
<DateTime>sample string 1</DateTime>
<Latitude>3.1</Latitude>
<Longitude>2.1</Longitude>
<MileStone>1.1</MileStone>
</VehicleMilestoneDto>
</ArrayOfVehicleMilestoneDto>