GET api/v2/reportActivity/driver/{driverId}/services?DateStart={DateStart}&DateEnd={DateEnd}
retourne les services d'un conducteur sur une période donnée
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| driverId | globally unique identifier |
Required |
|
| DateStart |
Début de période (peut etre en local ou en utc en fonction du contexte) |
date |
None. |
| DateEnd |
Fin de période (peut etre en local ou en utc en fonction du contexte) |
date |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of DriverServiceDto| Name | Description | Type | Additional information |
|---|---|---|---|
| DriverId |
Identifiant du conducteur |
globally unique identifier |
None. |
| CardNumberPrefix |
14 premier caractères des carte du conducteur |
string |
None. |
| FirstNames |
Identifiant de la carte |
string |
None. |
| LastName |
Identifiant de la carte |
string |
None. |
| StartService |
Date de début de service |
date |
None. |
| EndService |
Date de fin de service |
date |
None. |
| TotalBreakRest |
Temps total de repos/pause en secondes |
integer |
None. |
| TotalWork |
Temps total de Travail en secondes |
integer |
None. |
| TotalAvailability |
Temps total de disponibilité en secondes |
integer |
None. |
| TotalDrive |
Temps total de conduite en secondes |
integer |
None. |
| NightService |
Temps de service de nuit entre 21h and 6H |
integer |
None. |
| VehiclesUsed |
Liste des véhicules utilisées durant le service |
Collection of VehicleUsedDto |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"DriverId": "7f6bb284-2d06-4b9e-8a46-9f31b4999362",
"CardNumberPrefix": "sample string 2",
"FirstNames": "sample string 3",
"LastName": "sample string 4",
"StartService": "2025-11-30T11:55:58.2212008+00:00",
"EndService": "2025-11-30T11:55:58.2212008+00:00",
"TotalBreakRest": 6,
"TotalWork": 7,
"TotalAvailability": 8,
"TotalDrive": 9,
"NightService": 10,
"VehiclesUsed": [
{
"VehicleId": "c27263d6-033a-403e-82fb-e1c9d46b7d1a",
"LicensePlate": "sample string 1",
"StartUse": "2025-11-30T11:55:58.2212008+00:00",
"EndUse": "2025-11-30T11:55:58.2212008+00:00"
},
{
"VehicleId": "c27263d6-033a-403e-82fb-e1c9d46b7d1a",
"LicensePlate": "sample string 1",
"StartUse": "2025-11-30T11:55:58.2212008+00:00",
"EndUse": "2025-11-30T11:55:58.2212008+00:00"
}
]
},
{
"DriverId": "7f6bb284-2d06-4b9e-8a46-9f31b4999362",
"CardNumberPrefix": "sample string 2",
"FirstNames": "sample string 3",
"LastName": "sample string 4",
"StartService": "2025-11-30T11:55:58.2212008+00:00",
"EndService": "2025-11-30T11:55:58.2212008+00:00",
"TotalBreakRest": 6,
"TotalWork": 7,
"TotalAvailability": 8,
"TotalDrive": 9,
"NightService": 10,
"VehiclesUsed": [
{
"VehicleId": "c27263d6-033a-403e-82fb-e1c9d46b7d1a",
"LicensePlate": "sample string 1",
"StartUse": "2025-11-30T11:55:58.2212008+00:00",
"EndUse": "2025-11-30T11:55:58.2212008+00:00"
},
{
"VehicleId": "c27263d6-033a-403e-82fb-e1c9d46b7d1a",
"LicensePlate": "sample string 1",
"StartUse": "2025-11-30T11:55:58.2212008+00:00",
"EndUse": "2025-11-30T11:55:58.2212008+00:00"
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfDriverServiceDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vehizen.Domain.Dto.ReportActivity">
<DriverServiceDto>
<CardNumberPrefix>sample string 2</CardNumberPrefix>
<DriverId>7f6bb284-2d06-4b9e-8a46-9f31b4999362</DriverId>
<EndService>2025-11-30T11:55:58.2212008+00:00</EndService>
<FirstNames>sample string 3</FirstNames>
<LastName>sample string 4</LastName>
<NightService>10</NightService>
<StartService>2025-11-30T11:55:58.2212008+00:00</StartService>
<TotalAvailability>8</TotalAvailability>
<TotalBreakRest>6</TotalBreakRest>
<TotalDrive>9</TotalDrive>
<TotalWork>7</TotalWork>
<VehiclesUsed>
<VehicleUsedDto>
<EndUse>2025-11-30T11:55:58.2212008+00:00</EndUse>
<LicensePlate>sample string 1</LicensePlate>
<StartUse>2025-11-30T11:55:58.2212008+00:00</StartUse>
<VehicleId>c27263d6-033a-403e-82fb-e1c9d46b7d1a</VehicleId>
</VehicleUsedDto>
<VehicleUsedDto>
<EndUse>2025-11-30T11:55:58.2212008+00:00</EndUse>
<LicensePlate>sample string 1</LicensePlate>
<StartUse>2025-11-30T11:55:58.2212008+00:00</StartUse>
<VehicleId>c27263d6-033a-403e-82fb-e1c9d46b7d1a</VehicleId>
</VehicleUsedDto>
</VehiclesUsed>
</DriverServiceDto>
<DriverServiceDto>
<CardNumberPrefix>sample string 2</CardNumberPrefix>
<DriverId>7f6bb284-2d06-4b9e-8a46-9f31b4999362</DriverId>
<EndService>2025-11-30T11:55:58.2212008+00:00</EndService>
<FirstNames>sample string 3</FirstNames>
<LastName>sample string 4</LastName>
<NightService>10</NightService>
<StartService>2025-11-30T11:55:58.2212008+00:00</StartService>
<TotalAvailability>8</TotalAvailability>
<TotalBreakRest>6</TotalBreakRest>
<TotalDrive>9</TotalDrive>
<TotalWork>7</TotalWork>
<VehiclesUsed>
<VehicleUsedDto>
<EndUse>2025-11-30T11:55:58.2212008+00:00</EndUse>
<LicensePlate>sample string 1</LicensePlate>
<StartUse>2025-11-30T11:55:58.2212008+00:00</StartUse>
<VehicleId>c27263d6-033a-403e-82fb-e1c9d46b7d1a</VehicleId>
</VehicleUsedDto>
<VehicleUsedDto>
<EndUse>2025-11-30T11:55:58.2212008+00:00</EndUse>
<LicensePlate>sample string 1</LicensePlate>
<StartUse>2025-11-30T11:55:58.2212008+00:00</StartUse>
<VehicleId>c27263d6-033a-403e-82fb-e1c9d46b7d1a</VehicleId>
</VehicleUsedDto>
</VehiclesUsed>
</DriverServiceDto>
</ArrayOfDriverServiceDto>