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": "c6ee1ef9-ad82-47a6-996e-b289a54e3b8c",
"MonthContract": 1.0,
"ThresholdTimeSupWeek": 3.0,
"ThresholdTimeSupMonth": 4.0,
"ContractType": 0,
"EntryDate": "2026-10-08T05:26:16.6141043+00:00",
"ReleaseDate": "2026-10-08T05:26:16.6141043+00:00",
"DrivingType": 0,
"AbsenseProfileId": "b0a1792c-4491-496d-8453-db4d4b0614a4",
"ExpenseProfileId": "a8cc47c5-dc3a-4803-bf80-0d0d50790ffe",
"IndemnityProfileId": "7b37890f-f57d-431d-b43d-67a01c46888c",
"RuptureMotif": 11
},
{
"Id": 1,
"DriverId": "c6ee1ef9-ad82-47a6-996e-b289a54e3b8c",
"MonthContract": 1.0,
"ThresholdTimeSupWeek": 3.0,
"ThresholdTimeSupMonth": 4.0,
"ContractType": 0,
"EntryDate": "2026-10-08T05:26:16.6141043+00:00",
"ReleaseDate": "2026-10-08T05:26:16.6141043+00:00",
"DrivingType": 0,
"AbsenseProfileId": "b0a1792c-4491-496d-8453-db4d4b0614a4",
"ExpenseProfileId": "a8cc47c5-dc3a-4803-bf80-0d0d50790ffe",
"IndemnityProfileId": "7b37890f-f57d-431d-b43d-67a01c46888c",
"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>b0a1792c-4491-496d-8453-db4d4b0614a4</AbsenseProfileId>
<ContractType>CDI</ContractType>
<DriverId>c6ee1ef9-ad82-47a6-996e-b289a54e3b8c</DriverId>
<DrivingType>LongDistance</DrivingType>
<EntryDate>2026-10-08T05:26:16.6141043+00:00</EntryDate>
<ExpenseProfileId>a8cc47c5-dc3a-4803-bf80-0d0d50790ffe</ExpenseProfileId>
<IndemnityProfileId>7b37890f-f57d-431d-b43d-67a01c46888c</IndemnityProfileId>
<MonthContract>1</MonthContract>
<ReleaseDate>2026-10-08T05:26:16.6141043+00:00</ReleaseDate>
<RuptureMotif>LicenciementLiquidation</RuptureMotif>
<ThresholdTimeSupMonth>4</ThresholdTimeSupMonth>
<ThresholdTimeSupWeek>3</ThresholdTimeSupWeek>
<Id>1</Id>
</DriverContractDto>
<DriverContractDto>
<AbsenseProfileId>b0a1792c-4491-496d-8453-db4d4b0614a4</AbsenseProfileId>
<ContractType>CDI</ContractType>
<DriverId>c6ee1ef9-ad82-47a6-996e-b289a54e3b8c</DriverId>
<DrivingType>LongDistance</DrivingType>
<EntryDate>2026-10-08T05:26:16.6141043+00:00</EntryDate>
<ExpenseProfileId>a8cc47c5-dc3a-4803-bf80-0d0d50790ffe</ExpenseProfileId>
<IndemnityProfileId>7b37890f-f57d-431d-b43d-67a01c46888c</IndemnityProfileId>
<MonthContract>1</MonthContract>
<ReleaseDate>2026-10-08T05:26:16.6141043+00:00</ReleaseDate>
<RuptureMotif>LicenciementLiquidation</RuptureMotif>
<ThresholdTimeSupMonth>4</ThresholdTimeSupMonth>
<ThresholdTimeSupWeek>3</ThresholdTimeSupWeek>
<Id>1</Id>
</DriverContractDto>
</ArrayOfDriverContractDto>