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 | date |
None. |
|
| DateEnd | date |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of DriverServiceDto| Name | Description | Type | Additional information |
|---|---|---|---|
| DriverId | globally unique identifier |
None. |
|
| CardNumberPrefix | string |
None. |
|
| FirstNames | string |
None. |
|
| LastName | string |
None. |
|
| StartService | date |
None. |
|
| EndService | date |
None. |
|
| TotalBreakRest | integer |
None. |
|
| TotalWork | integer |
None. |
|
| TotalAvailability | integer |
None. |
|
| TotalDrive | integer |
None. |
|
| NightService | integer |
None. |
|
| VehiclesUsed | Collection of VehicleUsedDto |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"DriverId": "133521af-2b8d-4884-a255-53c7796a6208",
"CardNumberPrefix": "sample string 2",
"FirstNames": "sample string 3",
"LastName": "sample string 4",
"StartService": "2026-12-05T01:34:27.1353673+00:00",
"EndService": "2026-12-05T01:34:27.1353673+00:00",
"TotalBreakRest": 6,
"TotalWork": 7,
"TotalAvailability": 8,
"TotalDrive": 9,
"NightService": 10,
"VehiclesUsed": [
{
"VehicleId": "95e972a9-b0eb-48f3-a1a5-6fc86544c0a7",
"LicensePlate": "sample string 1",
"StartUse": "2026-12-05T01:34:27.1353673+00:00",
"EndUse": "2026-12-05T01:34:27.1353673+00:00"
},
{
"VehicleId": "95e972a9-b0eb-48f3-a1a5-6fc86544c0a7",
"LicensePlate": "sample string 1",
"StartUse": "2026-12-05T01:34:27.1353673+00:00",
"EndUse": "2026-12-05T01:34:27.1353673+00:00"
}
]
},
{
"DriverId": "133521af-2b8d-4884-a255-53c7796a6208",
"CardNumberPrefix": "sample string 2",
"FirstNames": "sample string 3",
"LastName": "sample string 4",
"StartService": "2026-12-05T01:34:27.1353673+00:00",
"EndService": "2026-12-05T01:34:27.1353673+00:00",
"TotalBreakRest": 6,
"TotalWork": 7,
"TotalAvailability": 8,
"TotalDrive": 9,
"NightService": 10,
"VehiclesUsed": [
{
"VehicleId": "95e972a9-b0eb-48f3-a1a5-6fc86544c0a7",
"LicensePlate": "sample string 1",
"StartUse": "2026-12-05T01:34:27.1353673+00:00",
"EndUse": "2026-12-05T01:34:27.1353673+00:00"
},
{
"VehicleId": "95e972a9-b0eb-48f3-a1a5-6fc86544c0a7",
"LicensePlate": "sample string 1",
"StartUse": "2026-12-05T01:34:27.1353673+00:00",
"EndUse": "2026-12-05T01:34:27.1353673+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>133521af-2b8d-4884-a255-53c7796a6208</DriverId>
<EndService>2026-12-05T01:34:27.1353673+00:00</EndService>
<FirstNames>sample string 3</FirstNames>
<LastName>sample string 4</LastName>
<NightService>10</NightService>
<StartService>2026-12-05T01:34:27.1353673+00:00</StartService>
<TotalAvailability>8</TotalAvailability>
<TotalBreakRest>6</TotalBreakRest>
<TotalDrive>9</TotalDrive>
<TotalWork>7</TotalWork>
<VehiclesUsed>
<VehicleUsedDto>
<EndUse>2026-12-05T01:34:27.1353673+00:00</EndUse>
<LicensePlate>sample string 1</LicensePlate>
<StartUse>2026-12-05T01:34:27.1353673+00:00</StartUse>
<VehicleId>95e972a9-b0eb-48f3-a1a5-6fc86544c0a7</VehicleId>
</VehicleUsedDto>
<VehicleUsedDto>
<EndUse>2026-12-05T01:34:27.1353673+00:00</EndUse>
<LicensePlate>sample string 1</LicensePlate>
<StartUse>2026-12-05T01:34:27.1353673+00:00</StartUse>
<VehicleId>95e972a9-b0eb-48f3-a1a5-6fc86544c0a7</VehicleId>
</VehicleUsedDto>
</VehiclesUsed>
</DriverServiceDto>
<DriverServiceDto>
<CardNumberPrefix>sample string 2</CardNumberPrefix>
<DriverId>133521af-2b8d-4884-a255-53c7796a6208</DriverId>
<EndService>2026-12-05T01:34:27.1353673+00:00</EndService>
<FirstNames>sample string 3</FirstNames>
<LastName>sample string 4</LastName>
<NightService>10</NightService>
<StartService>2026-12-05T01:34:27.1353673+00:00</StartService>
<TotalAvailability>8</TotalAvailability>
<TotalBreakRest>6</TotalBreakRest>
<TotalDrive>9</TotalDrive>
<TotalWork>7</TotalWork>
<VehiclesUsed>
<VehicleUsedDto>
<EndUse>2026-12-05T01:34:27.1353673+00:00</EndUse>
<LicensePlate>sample string 1</LicensePlate>
<StartUse>2026-12-05T01:34:27.1353673+00:00</StartUse>
<VehicleId>95e972a9-b0eb-48f3-a1a5-6fc86544c0a7</VehicleId>
</VehicleUsedDto>
<VehicleUsedDto>
<EndUse>2026-12-05T01:34:27.1353673+00:00</EndUse>
<LicensePlate>sample string 1</LicensePlate>
<StartUse>2026-12-05T01:34:27.1353673+00:00</StartUse>
<VehicleId>95e972a9-b0eb-48f3-a1a5-6fc86544c0a7</VehicleId>
</VehicleUsedDto>
</VehiclesUsed>
</DriverServiceDto>
</ArrayOfDriverServiceDto>