POST api/v2/fuel-event/vehicles?DateStart={DateStart}&DateEnd={DateEnd}
Retourne les rapports de plein / appoint de carburant pour une liste de véhicules donnée.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| DateStart | date |
None. |
|
| DateEnd | date |
None. |
Body Parameters
Liste des identifiants des véhicules à interroger
Collection of globally unique identifierRequest Formats
application/json, text/json
Sample:
[ "45ba9972-af0d-4fe3-9eff-5cdad974f419", "861d90d5-c380-43b8-b795-8b956781d9e5" ]
application/xml, text/xml
Sample:
<ArrayOfguid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <guid>45ba9972-af0d-4fe3-9eff-5cdad974f419</guid> <guid>861d90d5-c380-43b8-b795-8b956781d9e5</guid> </ArrayOfguid>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Liste des rapports de carburant des véhicules sélectionnés sur la période demandée
Collection of FuelReportDto| Name | Description | Type | Additional information |
|---|---|---|---|
| VehicleId | globally unique identifier |
None. |
|
| Milestone | integer |
None. |
|
| BeforeFuelLevelPercent | byte |
None. |
|
| AfterFuelLevelPercent | byte |
None. |
|
| FuelLevelGapPercent | byte |
None. |
|
| FuelLevelGapLiters | integer |
None. |
|
| EventUtc | date |
None. |
|
| Latitude | decimal number |
None. |
|
| Longitude | decimal number |
None. |
|
| Address | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"VehicleId": "4fe64a5f-9139-496e-a604-1acf940398ad",
"Milestone": 1,
"BeforeFuelLevelPercent": 64,
"AfterFuelLevelPercent": 64,
"FuelLevelGapPercent": 64,
"FuelLevelGapLiters": 1,
"EventUtc": "2026-12-05T16:45:30.0731982+00:00",
"Latitude": 1.1,
"Longitude": 1.1,
"Address": "sample string 5"
},
{
"VehicleId": "4fe64a5f-9139-496e-a604-1acf940398ad",
"Milestone": 1,
"BeforeFuelLevelPercent": 64,
"AfterFuelLevelPercent": 64,
"FuelLevelGapPercent": 64,
"FuelLevelGapLiters": 1,
"EventUtc": "2026-12-05T16:45:30.0731982+00:00",
"Latitude": 1.1,
"Longitude": 1.1,
"Address": "sample string 5"
}
]
application/xml, text/xml
Sample:
<ArrayOfFuelReportDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vehizen.Domain.Dto.Energy">
<FuelReportDto>
<Address>sample string 5</Address>
<AfterFuelLevelPercent>64</AfterFuelLevelPercent>
<BeforeFuelLevelPercent>64</BeforeFuelLevelPercent>
<EventUtc>2026-12-05T16:45:30.0731982+00:00</EventUtc>
<FuelLevelGapLiters>1</FuelLevelGapLiters>
<FuelLevelGapPercent>64</FuelLevelGapPercent>
<Latitude>1.1</Latitude>
<Longitude>1.1</Longitude>
<Milestone>1</Milestone>
<VehicleId>4fe64a5f-9139-496e-a604-1acf940398ad</VehicleId>
</FuelReportDto>
<FuelReportDto>
<Address>sample string 5</Address>
<AfterFuelLevelPercent>64</AfterFuelLevelPercent>
<BeforeFuelLevelPercent>64</BeforeFuelLevelPercent>
<EventUtc>2026-12-05T16:45:30.0731982+00:00</EventUtc>
<FuelLevelGapLiters>1</FuelLevelGapLiters>
<FuelLevelGapPercent>64</FuelLevelGapPercent>
<Latitude>1.1</Latitude>
<Longitude>1.1</Longitude>
<Milestone>1</Milestone>
<VehicleId>4fe64a5f-9139-496e-a604-1acf940398ad</VehicleId>
</FuelReportDto>
</ArrayOfFuelReportDto>