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:
[ "9fe4627c-1a25-4eab-a5cd-48609553cce9", "c1760661-6aee-41d7-8278-6fba3ff46875" ]
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>9fe4627c-1a25-4eab-a5cd-48609553cce9</guid> <guid>c1760661-6aee-41d7-8278-6fba3ff46875</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": "4825e7f3-0c1f-4bbd-9f25-80f2aeb42717",
"Milestone": 1,
"BeforeFuelLevelPercent": 64,
"AfterFuelLevelPercent": 64,
"FuelLevelGapPercent": 64,
"FuelLevelGapLiters": 1,
"EventUtc": "2026-10-10T16:30:21.5057838+00:00",
"Latitude": 1.1,
"Longitude": 1.1,
"Address": "sample string 5"
},
{
"VehicleId": "4825e7f3-0c1f-4bbd-9f25-80f2aeb42717",
"Milestone": 1,
"BeforeFuelLevelPercent": 64,
"AfterFuelLevelPercent": 64,
"FuelLevelGapPercent": 64,
"FuelLevelGapLiters": 1,
"EventUtc": "2026-10-10T16:30:21.5057838+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-10-10T16:30:21.5057838+00:00</EventUtc>
<FuelLevelGapLiters>1</FuelLevelGapLiters>
<FuelLevelGapPercent>64</FuelLevelGapPercent>
<Latitude>1.1</Latitude>
<Longitude>1.1</Longitude>
<Milestone>1</Milestone>
<VehicleId>4825e7f3-0c1f-4bbd-9f25-80f2aeb42717</VehicleId>
</FuelReportDto>
<FuelReportDto>
<Address>sample string 5</Address>
<AfterFuelLevelPercent>64</AfterFuelLevelPercent>
<BeforeFuelLevelPercent>64</BeforeFuelLevelPercent>
<EventUtc>2026-10-10T16:30:21.5057838+00:00</EventUtc>
<FuelLevelGapLiters>1</FuelLevelGapLiters>
<FuelLevelGapPercent>64</FuelLevelGapPercent>
<Latitude>1.1</Latitude>
<Longitude>1.1</Longitude>
<Milestone>1</Milestone>
<VehicleId>4825e7f3-0c1f-4bbd-9f25-80f2aeb42717</VehicleId>
</FuelReportDto>
</ArrayOfFuelReportDto>