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 | decimal number |
None. |
|
| ThresholdTimeSupWeek | decimal number |
None. |
|
| ThresholdTimeSupMonth | decimal number |
None. |
|
| ContractType | ContractTypeDto |
None. |
|
| EntryDate | date |
None. |
|
| ReleaseDate | date |
None. |
|
| DrivingType | 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": "125e6749-2729-409b-bc70-6c6f3ea8d20f",
"MonthContract": 1.0,
"ThresholdTimeSupWeek": 3.0,
"ThresholdTimeSupMonth": 4.0,
"ContractType": 0,
"EntryDate": "2026-09-28T11:26:43.6651845+00:00",
"ReleaseDate": "2026-09-28T11:26:43.6651845+00:00",
"DrivingType": 0,
"AbsenseProfileId": "099fb0b4-1ed5-4ff7-9587-78c2b602ea15",
"ExpenseProfileId": "1f8d6778-55b8-4970-9826-9796367d6af3",
"IndemnityProfileId": "b4ec3208-f757-40c3-9b4c-5c32f3c96e2e",
"RuptureMotif": 11
},
{
"Id": 1,
"DriverId": "125e6749-2729-409b-bc70-6c6f3ea8d20f",
"MonthContract": 1.0,
"ThresholdTimeSupWeek": 3.0,
"ThresholdTimeSupMonth": 4.0,
"ContractType": 0,
"EntryDate": "2026-09-28T11:26:43.6651845+00:00",
"ReleaseDate": "2026-09-28T11:26:43.6651845+00:00",
"DrivingType": 0,
"AbsenseProfileId": "099fb0b4-1ed5-4ff7-9587-78c2b602ea15",
"ExpenseProfileId": "1f8d6778-55b8-4970-9826-9796367d6af3",
"IndemnityProfileId": "b4ec3208-f757-40c3-9b4c-5c32f3c96e2e",
"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>099fb0b4-1ed5-4ff7-9587-78c2b602ea15</AbsenseProfileId>
<ContractType>CDI</ContractType>
<DriverId>125e6749-2729-409b-bc70-6c6f3ea8d20f</DriverId>
<DrivingType>LongDistance</DrivingType>
<EntryDate>2026-09-28T11:26:43.6651845+00:00</EntryDate>
<ExpenseProfileId>1f8d6778-55b8-4970-9826-9796367d6af3</ExpenseProfileId>
<IndemnityProfileId>b4ec3208-f757-40c3-9b4c-5c32f3c96e2e</IndemnityProfileId>
<MonthContract>1</MonthContract>
<ReleaseDate>2026-09-28T11:26:43.6651845+00:00</ReleaseDate>
<RuptureMotif>LicenciementLiquidation</RuptureMotif>
<ThresholdTimeSupMonth>4</ThresholdTimeSupMonth>
<ThresholdTimeSupWeek>3</ThresholdTimeSupWeek>
<Id>1</Id>
</DriverContractDto>
<DriverContractDto>
<AbsenseProfileId>099fb0b4-1ed5-4ff7-9587-78c2b602ea15</AbsenseProfileId>
<ContractType>CDI</ContractType>
<DriverId>125e6749-2729-409b-bc70-6c6f3ea8d20f</DriverId>
<DrivingType>LongDistance</DrivingType>
<EntryDate>2026-09-28T11:26:43.6651845+00:00</EntryDate>
<ExpenseProfileId>1f8d6778-55b8-4970-9826-9796367d6af3</ExpenseProfileId>
<IndemnityProfileId>b4ec3208-f757-40c3-9b4c-5c32f3c96e2e</IndemnityProfileId>
<MonthContract>1</MonthContract>
<ReleaseDate>2026-09-28T11:26:43.6651845+00:00</ReleaseDate>
<RuptureMotif>LicenciementLiquidation</RuptureMotif>
<ThresholdTimeSupMonth>4</ThresholdTimeSupMonth>
<ThresholdTimeSupWeek>3</ThresholdTimeSupWeek>
<Id>1</Id>
</DriverContractDto>
</ArrayOfDriverContractDto>