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
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Absences

Collection of AbsenceDto

None.

CustomerId

globally unique identifier

None.

Name

string

None.

Description

string

None.

IsEditable

boolean

None.

NbMonthlyHours

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "82bafb40-4965-4f42-a898-430f450d7f1c",
    "Absences": [
      {
        "Id": "9191ac4b-9a94-4f4b-9df8-c166e9010852",
        "ProfilId": "b5bd393a-f433-4691-9723-483c536996f0",
        "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": "04bd24c4-6072-4560-8ec5-acce1c40dad8",
        "AnalyticCode": "sample string 14",
        "IsLinkedToAnyDriver": true
      },
      {
        "Id": "9191ac4b-9a94-4f4b-9df8-c166e9010852",
        "ProfilId": "b5bd393a-f433-4691-9723-483c536996f0",
        "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": "04bd24c4-6072-4560-8ec5-acce1c40dad8",
        "AnalyticCode": "sample string 14",
        "IsLinkedToAnyDriver": true
      }
    ],
    "CustomerId": "051961e9-fcd2-4d3a-b7b6-414d8341f8cc",
    "Name": "sample string 2",
    "Description": "sample string 3",
    "IsEditable": true,
    "NbMonthlyHours": 5
  },
  {
    "Id": "82bafb40-4965-4f42-a898-430f450d7f1c",
    "Absences": [
      {
        "Id": "9191ac4b-9a94-4f4b-9df8-c166e9010852",
        "ProfilId": "b5bd393a-f433-4691-9723-483c536996f0",
        "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": "04bd24c4-6072-4560-8ec5-acce1c40dad8",
        "AnalyticCode": "sample string 14",
        "IsLinkedToAnyDriver": true
      },
      {
        "Id": "9191ac4b-9a94-4f4b-9df8-c166e9010852",
        "ProfilId": "b5bd393a-f433-4691-9723-483c536996f0",
        "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": "04bd24c4-6072-4560-8ec5-acce1c40dad8",
        "AnalyticCode": "sample string 14",
        "IsLinkedToAnyDriver": true
      }
    ],
    "CustomerId": "051961e9-fcd2-4d3a-b7b6-414d8341f8cc",
    "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>051961e9-fcd2-4d3a-b7b6-414d8341f8cc</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>04bd24c4-6072-4560-8ec5-acce1c40dad8</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>b5bd393a-f433-4691-9723-483c536996f0</d3p1:ProfilId>
        <d3p1:Quota>true</d3p1:Quota>
        <d3p1:Id>9191ac4b-9a94-4f4b-9df8-c166e9010852</d3p1:Id>
      </d3p1:AbsenceDto>
      <d3p1:AbsenceDto>
        <d3p1:AnalyticCode>sample string 14</d3p1:AnalyticCode>
        <d3p1:AnalyticId>04bd24c4-6072-4560-8ec5-acce1c40dad8</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>b5bd393a-f433-4691-9723-483c536996f0</d3p1:ProfilId>
        <d3p1:Quota>true</d3p1:Quota>
        <d3p1:Id>9191ac4b-9a94-4f4b-9df8-c166e9010852</d3p1:Id>
      </d3p1:AbsenceDto>
    </Absences>
    <Id>82bafb40-4965-4f42-a898-430f450d7f1c</Id>
  </AbsenceProfileDto>
  <AbsenceProfileDto>
    <CustomerId>051961e9-fcd2-4d3a-b7b6-414d8341f8cc</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>04bd24c4-6072-4560-8ec5-acce1c40dad8</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>b5bd393a-f433-4691-9723-483c536996f0</d3p1:ProfilId>
        <d3p1:Quota>true</d3p1:Quota>
        <d3p1:Id>9191ac4b-9a94-4f4b-9df8-c166e9010852</d3p1:Id>
      </d3p1:AbsenceDto>
      <d3p1:AbsenceDto>
        <d3p1:AnalyticCode>sample string 14</d3p1:AnalyticCode>
        <d3p1:AnalyticId>04bd24c4-6072-4560-8ec5-acce1c40dad8</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>b5bd393a-f433-4691-9723-483c536996f0</d3p1:ProfilId>
        <d3p1:Quota>true</d3p1:Quota>
        <d3p1:Id>9191ac4b-9a94-4f4b-9df8-c166e9010852</d3p1:Id>
      </d3p1:AbsenceDto>
    </Absences>
    <Id>82bafb40-4965-4f42-a898-430f450d7f1c</Id>
  </AbsenceProfileDto>
</ArrayOfAbsenceProfileDto>