GET api/v2/driver/{driverId}/contract
Retourne les contracts d'un conducteur
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| driverId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of DriverContractDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| DriverId | globally unique identifier |
None. |
|
| MonthContract |
Nombre d'heures mensuelle du contrat |
decimal number |
None. |
| ThresholdTimeSupWeek |
Seuil d'heures supplémentaires par semaine |
decimal number |
None. |
| ThresholdTimeSupMonth |
Seuil d'heures supplémentaires par mois |
decimal number |
None. |
| ContractType |
Type de contrat du conducteur |
ContractTypeDto |
None. |
| EntryDate | date |
None. |
|
| ReleaseDate | date |
None. |
|
| DrivingType |
type de contrat de conduite |
DrivingTypeDto |
None. |
| AbsenseProfileId | globally unique identifier |
None. |
|
| ExpenseProfileId | globally unique identifier |
None. |
|
| IndemnityProfileId | globally unique identifier |
None. |
|
| RuptureMotif | RuptureMotif |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"DriverId": "156a4d6d-4c65-4e38-a9f7-a0c7876065af",
"MonthContract": 1.0,
"ThresholdTimeSupWeek": 3.0,
"ThresholdTimeSupMonth": 4.0,
"ContractType": 0,
"EntryDate": "2026-06-28T03:14:24.1421456+00:00",
"ReleaseDate": "2026-06-28T03:14:24.1421456+00:00",
"DrivingType": 0,
"AbsenseProfileId": "923cb190-fce6-4478-8c64-acd191fd736b",
"ExpenseProfileId": "be57fe11-15e5-430b-9ce4-eb5cc1157631",
"IndemnityProfileId": "8d8bb854-f5e7-42c1-8af2-0c6a58e28116",
"RuptureMotif": 11
},
{
"Id": 1,
"DriverId": "156a4d6d-4c65-4e38-a9f7-a0c7876065af",
"MonthContract": 1.0,
"ThresholdTimeSupWeek": 3.0,
"ThresholdTimeSupMonth": 4.0,
"ContractType": 0,
"EntryDate": "2026-06-28T03:14:24.1421456+00:00",
"ReleaseDate": "2026-06-28T03:14:24.1421456+00:00",
"DrivingType": 0,
"AbsenseProfileId": "923cb190-fce6-4478-8c64-acd191fd736b",
"ExpenseProfileId": "be57fe11-15e5-430b-9ce4-eb5cc1157631",
"IndemnityProfileId": "8d8bb854-f5e7-42c1-8af2-0c6a58e28116",
"RuptureMotif": 11
}
]
application/xml, text/xml
Sample:
<ArrayOfDriverContractDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vehizen.Domain.Dto.Contracts">
<DriverContractDto>
<AbsenseProfileId>923cb190-fce6-4478-8c64-acd191fd736b</AbsenseProfileId>
<ContractType>CDI</ContractType>
<DriverId>156a4d6d-4c65-4e38-a9f7-a0c7876065af</DriverId>
<DrivingType>LongDistance</DrivingType>
<EntryDate>2026-06-28T03:14:24.1421456+00:00</EntryDate>
<ExpenseProfileId>be57fe11-15e5-430b-9ce4-eb5cc1157631</ExpenseProfileId>
<IndemnityProfileId>8d8bb854-f5e7-42c1-8af2-0c6a58e28116</IndemnityProfileId>
<MonthContract>1</MonthContract>
<ReleaseDate>2026-06-28T03:14:24.1421456+00:00</ReleaseDate>
<RuptureMotif>LicenciementLiquidation</RuptureMotif>
<ThresholdTimeSupMonth>4</ThresholdTimeSupMonth>
<ThresholdTimeSupWeek>3</ThresholdTimeSupWeek>
<Id>1</Id>
</DriverContractDto>
<DriverContractDto>
<AbsenseProfileId>923cb190-fce6-4478-8c64-acd191fd736b</AbsenseProfileId>
<ContractType>CDI</ContractType>
<DriverId>156a4d6d-4c65-4e38-a9f7-a0c7876065af</DriverId>
<DrivingType>LongDistance</DrivingType>
<EntryDate>2026-06-28T03:14:24.1421456+00:00</EntryDate>
<ExpenseProfileId>be57fe11-15e5-430b-9ce4-eb5cc1157631</ExpenseProfileId>
<IndemnityProfileId>8d8bb854-f5e7-42c1-8af2-0c6a58e28116</IndemnityProfileId>
<MonthContract>1</MonthContract>
<ReleaseDate>2026-06-28T03:14:24.1421456+00:00</ReleaseDate>
<RuptureMotif>LicenciementLiquidation</RuptureMotif>
<ThresholdTimeSupMonth>4</ThresholdTimeSupMonth>
<ThresholdTimeSupWeek>3</ThresholdTimeSupWeek>
<Id>1</Id>
</DriverContractDto>
</ArrayOfDriverContractDto>