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": "d4abd48c-4f94-4154-96bb-8722658c1f97",
"MonthContract": 1.0,
"ThresholdTimeSupWeek": 3.0,
"ThresholdTimeSupMonth": 4.0,
"ContractType": 0,
"EntryDate": "2026-09-24T03:53:22.4569752+00:00",
"ReleaseDate": "2026-09-24T03:53:22.4569752+00:00",
"DrivingType": 0,
"AbsenseProfileId": "40c4eff5-5cd1-4e70-adcd-9f58801ea884",
"ExpenseProfileId": "46b85ae2-27b5-4ff1-ba66-15ae84f3439c",
"IndemnityProfileId": "89d5c19e-af0e-4100-819e-99a2a16601e5",
"RuptureMotif": 11
},
{
"Id": 1,
"DriverId": "d4abd48c-4f94-4154-96bb-8722658c1f97",
"MonthContract": 1.0,
"ThresholdTimeSupWeek": 3.0,
"ThresholdTimeSupMonth": 4.0,
"ContractType": 0,
"EntryDate": "2026-09-24T03:53:22.4569752+00:00",
"ReleaseDate": "2026-09-24T03:53:22.4569752+00:00",
"DrivingType": 0,
"AbsenseProfileId": "40c4eff5-5cd1-4e70-adcd-9f58801ea884",
"ExpenseProfileId": "46b85ae2-27b5-4ff1-ba66-15ae84f3439c",
"IndemnityProfileId": "89d5c19e-af0e-4100-819e-99a2a16601e5",
"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>40c4eff5-5cd1-4e70-adcd-9f58801ea884</AbsenseProfileId>
<ContractType>CDI</ContractType>
<DriverId>d4abd48c-4f94-4154-96bb-8722658c1f97</DriverId>
<DrivingType>LongDistance</DrivingType>
<EntryDate>2026-09-24T03:53:22.4569752+00:00</EntryDate>
<ExpenseProfileId>46b85ae2-27b5-4ff1-ba66-15ae84f3439c</ExpenseProfileId>
<IndemnityProfileId>89d5c19e-af0e-4100-819e-99a2a16601e5</IndemnityProfileId>
<MonthContract>1</MonthContract>
<ReleaseDate>2026-09-24T03:53:22.4569752+00:00</ReleaseDate>
<RuptureMotif>LicenciementLiquidation</RuptureMotif>
<ThresholdTimeSupMonth>4</ThresholdTimeSupMonth>
<ThresholdTimeSupWeek>3</ThresholdTimeSupWeek>
<Id>1</Id>
</DriverContractDto>
<DriverContractDto>
<AbsenseProfileId>40c4eff5-5cd1-4e70-adcd-9f58801ea884</AbsenseProfileId>
<ContractType>CDI</ContractType>
<DriverId>d4abd48c-4f94-4154-96bb-8722658c1f97</DriverId>
<DrivingType>LongDistance</DrivingType>
<EntryDate>2026-09-24T03:53:22.4569752+00:00</EntryDate>
<ExpenseProfileId>46b85ae2-27b5-4ff1-ba66-15ae84f3439c</ExpenseProfileId>
<IndemnityProfileId>89d5c19e-af0e-4100-819e-99a2a16601e5</IndemnityProfileId>
<MonthContract>1</MonthContract>
<ReleaseDate>2026-09-24T03:53:22.4569752+00:00</ReleaseDate>
<RuptureMotif>LicenciementLiquidation</RuptureMotif>
<ThresholdTimeSupMonth>4</ThresholdTimeSupMonth>
<ThresholdTimeSupWeek>3</ThresholdTimeSupWeek>
<Id>1</Id>
</DriverContractDto>
</ArrayOfDriverContractDto>