GET api/v2/socialdata/absence/profil/driver/{driverId}?DateStart={DateStart}&DateEnd={DateEnd}

Retourne le profile d'un conducteur

Request Information

URI Parameters

NameDescriptionTypeAdditional information
driverId

globally unique identifier

Required

DateStart

Début de période (peut etre en local ou en utc en fonction du contexte)

date

None.

DateEnd

Fin de période (peut etre en local ou en utc en fonction du contexte)

date

None.

Body Parameters

None.

Response Information

Resource Description

AbsenceProfileDto
NameDescriptionTypeAdditional information
Id

identifiant

globally unique identifier

None.

Absences

absences

Collection of AbsenceDto

None.

CustomerId

identifiant du client

globally unique identifier

None.

Name

Nom

string

None.

Description

Description

string

None.

IsEditable

indique si il est éditable

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "10096a99-9d75-48d5-a97e-c7620a41ff7b",
  "Absences": [
    {
      "Id": "0453ac71-64bb-4cb1-91cf-68660161cdc4",
      "ProfilId": "f429abff-7309-4fcb-b05f-a0d32a5ede15",
      "Name": "sample string 3",
      "DayTime": 4,
      "HalfDayTime": 5,
      "Payd": true,
      "ExtraHour": true,
      "Quota": true,
      "CR": true,
      "Order": 10,
      "Color": "sample string 11",
      "EditableHour": true,
      "AnalyticId": "022e6041-67b2-4497-beec-59cf6b2701ff"
    },
    {
      "Id": "0453ac71-64bb-4cb1-91cf-68660161cdc4",
      "ProfilId": "f429abff-7309-4fcb-b05f-a0d32a5ede15",
      "Name": "sample string 3",
      "DayTime": 4,
      "HalfDayTime": 5,
      "Payd": true,
      "ExtraHour": true,
      "Quota": true,
      "CR": true,
      "Order": 10,
      "Color": "sample string 11",
      "EditableHour": true,
      "AnalyticId": "022e6041-67b2-4497-beec-59cf6b2701ff"
    }
  ],
  "CustomerId": "c06bbd87-9f32-4291-9bc0-841b94026750",
  "Name": "sample string 2",
  "Description": "sample string 3",
  "IsEditable": true
}

application/xml, text/xml

Sample:
<AbsenceProfileDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vehizen.Domain.Dto.Absence">
  <CustomerId>c06bbd87-9f32-4291-9bc0-841b94026750</CustomerId>
  <Description>sample string 3</Description>
  <IsEditable>true</IsEditable>
  <Name>sample string 2</Name>
  <Absences xmlns:d2p1="http://schemas.datacontract.org/2004/07/Vehizen.Domain.Dto.Contract">
    <d2p1:AbsenceDto>
      <d2p1:AnalyticId>022e6041-67b2-4497-beec-59cf6b2701ff</d2p1:AnalyticId>
      <d2p1:CR>true</d2p1:CR>
      <d2p1:Color>sample string 11</d2p1:Color>
      <d2p1:DayTime>4</d2p1:DayTime>
      <d2p1:EditableHour>true</d2p1:EditableHour>
      <d2p1:ExtraHour>true</d2p1:ExtraHour>
      <d2p1:HalfDayTime>5</d2p1:HalfDayTime>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:Order>10</d2p1:Order>
      <d2p1:Payd>true</d2p1:Payd>
      <d2p1:ProfilId>f429abff-7309-4fcb-b05f-a0d32a5ede15</d2p1:ProfilId>
      <d2p1:Quota>true</d2p1:Quota>
      <d2p1:Id>0453ac71-64bb-4cb1-91cf-68660161cdc4</d2p1:Id>
    </d2p1:AbsenceDto>
    <d2p1:AbsenceDto>
      <d2p1:AnalyticId>022e6041-67b2-4497-beec-59cf6b2701ff</d2p1:AnalyticId>
      <d2p1:CR>true</d2p1:CR>
      <d2p1:Color>sample string 11</d2p1:Color>
      <d2p1:DayTime>4</d2p1:DayTime>
      <d2p1:EditableHour>true</d2p1:EditableHour>
      <d2p1:ExtraHour>true</d2p1:ExtraHour>
      <d2p1:HalfDayTime>5</d2p1:HalfDayTime>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:Order>10</d2p1:Order>
      <d2p1:Payd>true</d2p1:Payd>
      <d2p1:ProfilId>f429abff-7309-4fcb-b05f-a0d32a5ede15</d2p1:ProfilId>
      <d2p1:Quota>true</d2p1:Quota>
      <d2p1:Id>0453ac71-64bb-4cb1-91cf-68660161cdc4</d2p1:Id>
    </d2p1:AbsenceDto>
  </Absences>
  <Id>10096a99-9d75-48d5-a97e-c7620a41ff7b</Id>
</AbsenceProfileDto>