GET api/v2/driver/driversHeader?CardNumber={CardNumber}&ValidContract={ValidContract}&WithAffectedCard={WithAffectedCard}
Retourne la liste des conducteurs de l'utilisateur
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| CardNumber | string |
None. |
|
| ValidContract | boolean |
None. |
|
| WithAffectedCard | boolean |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of DriverHeaderDto| Name | Description | Type | Additional information |
|---|---|---|---|
| DriverId | globally unique identifier |
None. |
|
| CustomerId | globally unique identifier |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| Matricule | string |
None. |
|
| IsActive | boolean |
None. |
|
| CompatibleDownload | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"DriverId": "bcad44ab-2291-4f11-ad40-21ea15413593",
"CustomerId": "3c797102-525d-4f53-9557-c732edd7ceae",
"FirstName": "sample string 2",
"LastName": "sample string 3",
"Matricule": "sample string 4",
"IsActive": true,
"CompatibleDownload": true
},
{
"DriverId": "bcad44ab-2291-4f11-ad40-21ea15413593",
"CustomerId": "3c797102-525d-4f53-9557-c732edd7ceae",
"FirstName": "sample string 2",
"LastName": "sample string 3",
"Matricule": "sample string 4",
"IsActive": true,
"CompatibleDownload": true
}
]
application/xml, text/xml
Sample:
<ArrayOfDriverHeaderDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vehizen.Domain.Dto">
<DriverHeaderDto>
<CompatibleDownload>true</CompatibleDownload>
<CustomerId>3c797102-525d-4f53-9557-c732edd7ceae</CustomerId>
<DriverId>bcad44ab-2291-4f11-ad40-21ea15413593</DriverId>
<FirstName>sample string 2</FirstName>
<IsActive>true</IsActive>
<LastName>sample string 3</LastName>
<Matricule>sample string 4</Matricule>
</DriverHeaderDto>
<DriverHeaderDto>
<CompatibleDownload>true</CompatibleDownload>
<CustomerId>3c797102-525d-4f53-9557-c732edd7ceae</CustomerId>
<DriverId>bcad44ab-2291-4f11-ad40-21ea15413593</DriverId>
<FirstName>sample string 2</FirstName>
<IsActive>true</IsActive>
<LastName>sample string 3</LastName>
<Matricule>sample string 4</Matricule>
</DriverHeaderDto>
</ArrayOfDriverHeaderDto>