GET api/v2/fuel-event/user?DateStart={DateStart}&DateEnd={DateEnd}

Retourne les rapports de plein / appoint de carburant pour tous les véhicules accessibles par l'utilisateur courant.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
DateStart

date

None.

DateEnd

date

None.

Body Parameters

None.

Response Information

Resource Description

Liste des rapports de carburant sur la période demandée

Collection of FuelReportDto
NameDescriptionTypeAdditional 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": "76c06222-4263-466f-a30b-58f97dfbbcb1",
    "Milestone": 1,
    "BeforeFuelLevelPercent": 64,
    "AfterFuelLevelPercent": 64,
    "FuelLevelGapPercent": 64,
    "FuelLevelGapLiters": 1,
    "EventUtc": "2026-10-12T17:22:32.3334432+00:00",
    "Latitude": 1.1,
    "Longitude": 1.1,
    "Address": "sample string 5"
  },
  {
    "VehicleId": "76c06222-4263-466f-a30b-58f97dfbbcb1",
    "Milestone": 1,
    "BeforeFuelLevelPercent": 64,
    "AfterFuelLevelPercent": 64,
    "FuelLevelGapPercent": 64,
    "FuelLevelGapLiters": 1,
    "EventUtc": "2026-10-12T17:22:32.3334432+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-12T17:22:32.3334432+00:00</EventUtc>
    <FuelLevelGapLiters>1</FuelLevelGapLiters>
    <FuelLevelGapPercent>64</FuelLevelGapPercent>
    <Latitude>1.1</Latitude>
    <Longitude>1.1</Longitude>
    <Milestone>1</Milestone>
    <VehicleId>76c06222-4263-466f-a30b-58f97dfbbcb1</VehicleId>
  </FuelReportDto>
  <FuelReportDto>
    <Address>sample string 5</Address>
    <AfterFuelLevelPercent>64</AfterFuelLevelPercent>
    <BeforeFuelLevelPercent>64</BeforeFuelLevelPercent>
    <EventUtc>2026-10-12T17:22:32.3334432+00:00</EventUtc>
    <FuelLevelGapLiters>1</FuelLevelGapLiters>
    <FuelLevelGapPercent>64</FuelLevelGapPercent>
    <Latitude>1.1</Latitude>
    <Longitude>1.1</Longitude>
    <Milestone>1</Milestone>
    <VehicleId>76c06222-4263-466f-a30b-58f97dfbbcb1</VehicleId>
  </FuelReportDto>
</ArrayOfFuelReportDto>