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

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": "fc8f4db4-08e7-423b-8be2-2066c2066dba",
    "Absences": [
      {
        "Id": "cf4c0208-b2f9-4c70-915c-b95ede7c67f3",
        "ProfilId": "ef29933b-5855-49e4-b965-1d59e053065c",
        "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": "c0545655-5173-43e3-9ced-c127153cbd41"
      },
      {
        "Id": "cf4c0208-b2f9-4c70-915c-b95ede7c67f3",
        "ProfilId": "ef29933b-5855-49e4-b965-1d59e053065c",
        "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": "c0545655-5173-43e3-9ced-c127153cbd41"
      }
    ],
    "CustomerId": "98560aee-50f5-4207-8073-966823366a2b",
    "Name": "sample string 2",
    "Description": "sample string 3",
    "IsEditable": true
  },
  {
    "Id": "fc8f4db4-08e7-423b-8be2-2066c2066dba",
    "Absences": [
      {
        "Id": "cf4c0208-b2f9-4c70-915c-b95ede7c67f3",
        "ProfilId": "ef29933b-5855-49e4-b965-1d59e053065c",
        "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": "c0545655-5173-43e3-9ced-c127153cbd41"
      },
      {
        "Id": "cf4c0208-b2f9-4c70-915c-b95ede7c67f3",
        "ProfilId": "ef29933b-5855-49e4-b965-1d59e053065c",
        "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": "c0545655-5173-43e3-9ced-c127153cbd41"
      }
    ],
    "CustomerId": "98560aee-50f5-4207-8073-966823366a2b",
    "Name": "sample string 2",
    "Description": "sample string 3",
    "IsEditable": true
  }
]

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>98560aee-50f5-4207-8073-966823366a2b</CustomerId>
    <Description>sample string 3</Description>
    <IsEditable>true</IsEditable>
    <Name>sample string 2</Name>
    <Absences xmlns:d3p1="http://schemas.datacontract.org/2004/07/Vehizen.Domain.Dto.Contract">
      <d3p1:AbsenceDto>
        <d3p1:AnalyticId>c0545655-5173-43e3-9ced-c127153cbd41</d3p1:AnalyticId>
        <d3p1:CR>true</d3p1:CR>
        <d3p1:Color>sample string 11</d3p1:Color>
        <d3p1:DayTime>4</d3p1:DayTime>
        <d3p1:EditableHour>true</d3p1:EditableHour>
        <d3p1:ExtraHour>true</d3p1:ExtraHour>
        <d3p1:HalfDayTime>5</d3p1:HalfDayTime>
        <d3p1:Name>sample string 3</d3p1:Name>
        <d3p1:Order>10</d3p1:Order>
        <d3p1:Payd>true</d3p1:Payd>
        <d3p1:ProfilId>ef29933b-5855-49e4-b965-1d59e053065c</d3p1:ProfilId>
        <d3p1:Quota>true</d3p1:Quota>
        <d3p1:Id>cf4c0208-b2f9-4c70-915c-b95ede7c67f3</d3p1:Id>
      </d3p1:AbsenceDto>
      <d3p1:AbsenceDto>
        <d3p1:AnalyticId>c0545655-5173-43e3-9ced-c127153cbd41</d3p1:AnalyticId>
        <d3p1:CR>true</d3p1:CR>
        <d3p1:Color>sample string 11</d3p1:Color>
        <d3p1:DayTime>4</d3p1:DayTime>
        <d3p1:EditableHour>true</d3p1:EditableHour>
        <d3p1:ExtraHour>true</d3p1:ExtraHour>
        <d3p1:HalfDayTime>5</d3p1:HalfDayTime>
        <d3p1:Name>sample string 3</d3p1:Name>
        <d3p1:Order>10</d3p1:Order>
        <d3p1:Payd>true</d3p1:Payd>
        <d3p1:ProfilId>ef29933b-5855-49e4-b965-1d59e053065c</d3p1:ProfilId>
        <d3p1:Quota>true</d3p1:Quota>
        <d3p1:Id>cf4c0208-b2f9-4c70-915c-b95ede7c67f3</d3p1:Id>
      </d3p1:AbsenceDto>
    </Absences>
    <Id>fc8f4db4-08e7-423b-8be2-2066c2066dba</Id>
  </AbsenceProfileDto>
  <AbsenceProfileDto>
    <CustomerId>98560aee-50f5-4207-8073-966823366a2b</CustomerId>
    <Description>sample string 3</Description>
    <IsEditable>true</IsEditable>
    <Name>sample string 2</Name>
    <Absences xmlns:d3p1="http://schemas.datacontract.org/2004/07/Vehizen.Domain.Dto.Contract">
      <d3p1:AbsenceDto>
        <d3p1:AnalyticId>c0545655-5173-43e3-9ced-c127153cbd41</d3p1:AnalyticId>
        <d3p1:CR>true</d3p1:CR>
        <d3p1:Color>sample string 11</d3p1:Color>
        <d3p1:DayTime>4</d3p1:DayTime>
        <d3p1:EditableHour>true</d3p1:EditableHour>
        <d3p1:ExtraHour>true</d3p1:ExtraHour>
        <d3p1:HalfDayTime>5</d3p1:HalfDayTime>
        <d3p1:Name>sample string 3</d3p1:Name>
        <d3p1:Order>10</d3p1:Order>
        <d3p1:Payd>true</d3p1:Payd>
        <d3p1:ProfilId>ef29933b-5855-49e4-b965-1d59e053065c</d3p1:ProfilId>
        <d3p1:Quota>true</d3p1:Quota>
        <d3p1:Id>cf4c0208-b2f9-4c70-915c-b95ede7c67f3</d3p1:Id>
      </d3p1:AbsenceDto>
      <d3p1:AbsenceDto>
        <d3p1:AnalyticId>c0545655-5173-43e3-9ced-c127153cbd41</d3p1:AnalyticId>
        <d3p1:CR>true</d3p1:CR>
        <d3p1:Color>sample string 11</d3p1:Color>
        <d3p1:DayTime>4</d3p1:DayTime>
        <d3p1:EditableHour>true</d3p1:EditableHour>
        <d3p1:ExtraHour>true</d3p1:ExtraHour>
        <d3p1:HalfDayTime>5</d3p1:HalfDayTime>
        <d3p1:Name>sample string 3</d3p1:Name>
        <d3p1:Order>10</d3p1:Order>
        <d3p1:Payd>true</d3p1:Payd>
        <d3p1:ProfilId>ef29933b-5855-49e4-b965-1d59e053065c</d3p1:ProfilId>
        <d3p1:Quota>true</d3p1:Quota>
        <d3p1:Id>cf4c0208-b2f9-4c70-915c-b95ede7c67f3</d3p1:Id>
      </d3p1:AbsenceDto>
    </Absences>
    <Id>fc8f4db4-08e7-423b-8be2-2066c2066dba</Id>
  </AbsenceProfileDto>
</ArrayOfAbsenceProfileDto>