GET api/v2/socialdata/absence/profil
Retourne tous les profils de l'utilisateur
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of AbsenceProfileDto| Name | Description | Type | Additional 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. |
| NbMonthlyHours | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "015be18c-9d5d-4020-ad51-1374b6646e7e",
"Absences": [
{
"Id": "482abe6c-ef89-4704-8c1f-47c420db37ee",
"ProfilId": "46967514-9b8e-45ad-a389-a9e237bcd353",
"Name": "sample string 3",
"DayTime": 4,
"HalfDayTime": 5,
"Payd": true,
"ExtraHour": true,
"Quota": true,
"CR": true,
"NightCR": true,
"Order": 11,
"Color": "sample string 12",
"EditableHour": true,
"AnalyticId": "e8bf940d-ed2b-41da-bb15-1732624709b4",
"AnalyticCode": "sample string 14",
"IsLinkedToAnyDriver": true
},
{
"Id": "482abe6c-ef89-4704-8c1f-47c420db37ee",
"ProfilId": "46967514-9b8e-45ad-a389-a9e237bcd353",
"Name": "sample string 3",
"DayTime": 4,
"HalfDayTime": 5,
"Payd": true,
"ExtraHour": true,
"Quota": true,
"CR": true,
"NightCR": true,
"Order": 11,
"Color": "sample string 12",
"EditableHour": true,
"AnalyticId": "e8bf940d-ed2b-41da-bb15-1732624709b4",
"AnalyticCode": "sample string 14",
"IsLinkedToAnyDriver": true
}
],
"CustomerId": "e7951995-ed20-4611-b182-3ec053c9c142",
"Name": "sample string 2",
"Description": "sample string 3",
"IsEditable": true,
"NbMonthlyHours": 5
},
{
"Id": "015be18c-9d5d-4020-ad51-1374b6646e7e",
"Absences": [
{
"Id": "482abe6c-ef89-4704-8c1f-47c420db37ee",
"ProfilId": "46967514-9b8e-45ad-a389-a9e237bcd353",
"Name": "sample string 3",
"DayTime": 4,
"HalfDayTime": 5,
"Payd": true,
"ExtraHour": true,
"Quota": true,
"CR": true,
"NightCR": true,
"Order": 11,
"Color": "sample string 12",
"EditableHour": true,
"AnalyticId": "e8bf940d-ed2b-41da-bb15-1732624709b4",
"AnalyticCode": "sample string 14",
"IsLinkedToAnyDriver": true
},
{
"Id": "482abe6c-ef89-4704-8c1f-47c420db37ee",
"ProfilId": "46967514-9b8e-45ad-a389-a9e237bcd353",
"Name": "sample string 3",
"DayTime": 4,
"HalfDayTime": 5,
"Payd": true,
"ExtraHour": true,
"Quota": true,
"CR": true,
"NightCR": true,
"Order": 11,
"Color": "sample string 12",
"EditableHour": true,
"AnalyticId": "e8bf940d-ed2b-41da-bb15-1732624709b4",
"AnalyticCode": "sample string 14",
"IsLinkedToAnyDriver": true
}
],
"CustomerId": "e7951995-ed20-4611-b182-3ec053c9c142",
"Name": "sample string 2",
"Description": "sample string 3",
"IsEditable": true,
"NbMonthlyHours": 5
}
]
application/xml, text/xml
Sample:
<ArrayOfAbsenceProfileDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vehizen.Domain.Dto.Absence">
<AbsenceProfileDto>
<CustomerId>e7951995-ed20-4611-b182-3ec053c9c142</CustomerId>
<Description>sample string 3</Description>
<IsEditable>true</IsEditable>
<Name>sample string 2</Name>
<NbMonthlyHours>5</NbMonthlyHours>
<Absences xmlns:d3p1="http://schemas.datacontract.org/2004/07/Vehizen.Domain.Dto.Contract">
<d3p1:AbsenceDto>
<d3p1:AnalyticCode>sample string 14</d3p1:AnalyticCode>
<d3p1:AnalyticId>e8bf940d-ed2b-41da-bb15-1732624709b4</d3p1:AnalyticId>
<d3p1:CR>true</d3p1:CR>
<d3p1:Color>sample string 12</d3p1:Color>
<d3p1:DayTime>4</d3p1:DayTime>
<d3p1:EditableHour>true</d3p1:EditableHour>
<d3p1:ExtraHour>true</d3p1:ExtraHour>
<d3p1:HalfDayTime>5</d3p1:HalfDayTime>
<d3p1:IsLinkedToAnyDriver>true</d3p1:IsLinkedToAnyDriver>
<d3p1:Name>sample string 3</d3p1:Name>
<d3p1:NightCR>true</d3p1:NightCR>
<d3p1:Order>11</d3p1:Order>
<d3p1:Payd>true</d3p1:Payd>
<d3p1:ProfilId>46967514-9b8e-45ad-a389-a9e237bcd353</d3p1:ProfilId>
<d3p1:Quota>true</d3p1:Quota>
<d3p1:Id>482abe6c-ef89-4704-8c1f-47c420db37ee</d3p1:Id>
</d3p1:AbsenceDto>
<d3p1:AbsenceDto>
<d3p1:AnalyticCode>sample string 14</d3p1:AnalyticCode>
<d3p1:AnalyticId>e8bf940d-ed2b-41da-bb15-1732624709b4</d3p1:AnalyticId>
<d3p1:CR>true</d3p1:CR>
<d3p1:Color>sample string 12</d3p1:Color>
<d3p1:DayTime>4</d3p1:DayTime>
<d3p1:EditableHour>true</d3p1:EditableHour>
<d3p1:ExtraHour>true</d3p1:ExtraHour>
<d3p1:HalfDayTime>5</d3p1:HalfDayTime>
<d3p1:IsLinkedToAnyDriver>true</d3p1:IsLinkedToAnyDriver>
<d3p1:Name>sample string 3</d3p1:Name>
<d3p1:NightCR>true</d3p1:NightCR>
<d3p1:Order>11</d3p1:Order>
<d3p1:Payd>true</d3p1:Payd>
<d3p1:ProfilId>46967514-9b8e-45ad-a389-a9e237bcd353</d3p1:ProfilId>
<d3p1:Quota>true</d3p1:Quota>
<d3p1:Id>482abe6c-ef89-4704-8c1f-47c420db37ee</d3p1:Id>
</d3p1:AbsenceDto>
</Absences>
<Id>015be18c-9d5d-4020-ad51-1374b6646e7e</Id>
</AbsenceProfileDto>
<AbsenceProfileDto>
<CustomerId>e7951995-ed20-4611-b182-3ec053c9c142</CustomerId>
<Description>sample string 3</Description>
<IsEditable>true</IsEditable>
<Name>sample string 2</Name>
<NbMonthlyHours>5</NbMonthlyHours>
<Absences xmlns:d3p1="http://schemas.datacontract.org/2004/07/Vehizen.Domain.Dto.Contract">
<d3p1:AbsenceDto>
<d3p1:AnalyticCode>sample string 14</d3p1:AnalyticCode>
<d3p1:AnalyticId>e8bf940d-ed2b-41da-bb15-1732624709b4</d3p1:AnalyticId>
<d3p1:CR>true</d3p1:CR>
<d3p1:Color>sample string 12</d3p1:Color>
<d3p1:DayTime>4</d3p1:DayTime>
<d3p1:EditableHour>true</d3p1:EditableHour>
<d3p1:ExtraHour>true</d3p1:ExtraHour>
<d3p1:HalfDayTime>5</d3p1:HalfDayTime>
<d3p1:IsLinkedToAnyDriver>true</d3p1:IsLinkedToAnyDriver>
<d3p1:Name>sample string 3</d3p1:Name>
<d3p1:NightCR>true</d3p1:NightCR>
<d3p1:Order>11</d3p1:Order>
<d3p1:Payd>true</d3p1:Payd>
<d3p1:ProfilId>46967514-9b8e-45ad-a389-a9e237bcd353</d3p1:ProfilId>
<d3p1:Quota>true</d3p1:Quota>
<d3p1:Id>482abe6c-ef89-4704-8c1f-47c420db37ee</d3p1:Id>
</d3p1:AbsenceDto>
<d3p1:AbsenceDto>
<d3p1:AnalyticCode>sample string 14</d3p1:AnalyticCode>
<d3p1:AnalyticId>e8bf940d-ed2b-41da-bb15-1732624709b4</d3p1:AnalyticId>
<d3p1:CR>true</d3p1:CR>
<d3p1:Color>sample string 12</d3p1:Color>
<d3p1:DayTime>4</d3p1:DayTime>
<d3p1:EditableHour>true</d3p1:EditableHour>
<d3p1:ExtraHour>true</d3p1:ExtraHour>
<d3p1:HalfDayTime>5</d3p1:HalfDayTime>
<d3p1:IsLinkedToAnyDriver>true</d3p1:IsLinkedToAnyDriver>
<d3p1:Name>sample string 3</d3p1:Name>
<d3p1:NightCR>true</d3p1:NightCR>
<d3p1:Order>11</d3p1:Order>
<d3p1:Payd>true</d3p1:Payd>
<d3p1:ProfilId>46967514-9b8e-45ad-a389-a9e237bcd353</d3p1:ProfilId>
<d3p1:Quota>true</d3p1:Quota>
<d3p1:Id>482abe6c-ef89-4704-8c1f-47c420db37ee</d3p1:Id>
</d3p1:AbsenceDto>
</Absences>
<Id>015be18c-9d5d-4020-ad51-1374b6646e7e</Id>
</AbsenceProfileDto>
</ArrayOfAbsenceProfileDto>