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

Retourne les rapports de plein / appoint de carburant pour un véhicule spécifique.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
vehicleId

Identifiant unique du véhicule ciblé

globally unique identifier

Required

DateStart

date

None.

DateEnd

date

None.

Body Parameters

None.

Response Information

Resource Description

Liste des rapports de carburant du véhicule 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": "ee9ee649-703d-4750-8a4e-7d7f0e4a42c1",
    "Milestone": 1,
    "BeforeFuelLevelPercent": 64,
    "AfterFuelLevelPercent": 64,
    "FuelLevelGapPercent": 64,
    "FuelLevelGapLiters": 1,
    "EventUtc": "2026-10-12T23:38:13.2382018+00:00",
    "Latitude": 1.1,
    "Longitude": 1.1,
    "Address": "sample string 5"
  },
  {
    "VehicleId": "ee9ee649-703d-4750-8a4e-7d7f0e4a42c1",
    "Milestone": 1,
    "BeforeFuelLevelPercent": 64,
    "AfterFuelLevelPercent": 64,
    "FuelLevelGapPercent": 64,
    "FuelLevelGapLiters": 1,
    "EventUtc": "2026-10-12T23:38:13.2382018+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-12T23:38:13.2382018+00:00</EventUtc>
    <FuelLevelGapLiters>1</FuelLevelGapLiters>
    <FuelLevelGapPercent>64</FuelLevelGapPercent>
    <Latitude>1.1</Latitude>
    <Longitude>1.1</Longitude>
    <Milestone>1</Milestone>
    <VehicleId>ee9ee649-703d-4750-8a4e-7d7f0e4a42c1</VehicleId>
  </FuelReportDto>
  <FuelReportDto>
    <Address>sample string 5</Address>
    <AfterFuelLevelPercent>64</AfterFuelLevelPercent>
    <BeforeFuelLevelPercent>64</BeforeFuelLevelPercent>
    <EventUtc>2026-10-12T23:38:13.2382018+00:00</EventUtc>
    <FuelLevelGapLiters>1</FuelLevelGapLiters>
    <FuelLevelGapPercent>64</FuelLevelGapPercent>
    <Latitude>1.1</Latitude>
    <Longitude>1.1</Longitude>
    <Milestone>1</Milestone>
    <VehicleId>ee9ee649-703d-4750-8a4e-7d7f0e4a42c1</VehicleId>
  </FuelReportDto>
</ArrayOfFuelReportDto>