GET api/v2/driver/driversHeader?CardNumber={CardNumber}&ValidContract={ValidContract}&WithAffectedCard={WithAffectedCard}

Retourne la liste des conducteurs de l'utilisateur

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CardNumber

string

None.

ValidContract

boolean

None.

WithAffectedCard

boolean

None.

Body Parameters

None.

Response Information

Resource Description

Collection of DriverHeaderDto
NameDescriptionTypeAdditional 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": "9374a5ad-6a26-4a45-93cc-f8e1dbd34700",
    "CustomerId": "e4d9d67c-bfe4-40d8-adba-045c2e3c4e31",
    "FirstName": "sample string 2",
    "LastName": "sample string 3",
    "Matricule": "sample string 4",
    "IsActive": true,
    "CompatibleDownload": true
  },
  {
    "DriverId": "9374a5ad-6a26-4a45-93cc-f8e1dbd34700",
    "CustomerId": "e4d9d67c-bfe4-40d8-adba-045c2e3c4e31",
    "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>e4d9d67c-bfe4-40d8-adba-045c2e3c4e31</CustomerId>
    <DriverId>9374a5ad-6a26-4a45-93cc-f8e1dbd34700</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>e4d9d67c-bfe4-40d8-adba-045c2e3c4e31</CustomerId>
    <DriverId>9374a5ad-6a26-4a45-93cc-f8e1dbd34700</DriverId>
    <FirstName>sample string 2</FirstName>
    <IsActive>true</IsActive>
    <LastName>sample string 3</LastName>
    <Matricule>sample string 4</Matricule>
  </DriverHeaderDto>
</ArrayOfDriverHeaderDto>