PUT api/v2/socialdata/absence/profil
Met à jour un profile
Request Information
URI Parameters
None.
Body Parameters
AbsenceProfileDefinitionDtoName | Description | Type | Additional information |
---|---|---|---|
Id |
identifiant |
globally unique identifier |
None. |
Absences |
Absences |
Collection of AbsenceDefinitionDto |
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. |
Request Formats
application/json, text/json
Sample:
{ "Id": "650d5329-81cf-4c8e-9459-77f9bd2f3f1e", "Absences": [ { "Id": "620cb4ff-0bf8-4305-abd8-238fe4a85854", "ProfilId": "c9f5d57b-97f6-410d-b31f-3b72b5bbd6bc", "Name": "sample string 2", "DayTime": 3, "HalfDayTime": 4, "Payd": true, "ExtraHour": true, "Quota": true, "CR": true, "Order": 9, "Color": "sample string 10", "EditableHour": true, "AnalyticId": "6ae1b406-f69a-4bf0-82ae-7181fd63898b" }, { "Id": "620cb4ff-0bf8-4305-abd8-238fe4a85854", "ProfilId": "c9f5d57b-97f6-410d-b31f-3b72b5bbd6bc", "Name": "sample string 2", "DayTime": 3, "HalfDayTime": 4, "Payd": true, "ExtraHour": true, "Quota": true, "CR": true, "Order": 9, "Color": "sample string 10", "EditableHour": true, "AnalyticId": "6ae1b406-f69a-4bf0-82ae-7181fd63898b" } ], "CustomerId": "3df30cea-5321-4941-9ae5-148234ea2c19", "Name": "sample string 1", "Description": "sample string 2", "IsEditable": true }
application/xml, text/xml
Sample:
<AbsenceProfileDefinitionDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vehizen.Domain.Dto.Absence"> <CustomerId>3df30cea-5321-4941-9ae5-148234ea2c19</CustomerId> <Description>sample string 2</Description> <IsEditable>true</IsEditable> <Name>sample string 1</Name> <Absences xmlns:d2p1="http://schemas.datacontract.org/2004/07/Vehizen.Domain.Dto.Contract"> <d2p1:AbsenceDefinitionDto> <d2p1:AnalyticId>6ae1b406-f69a-4bf0-82ae-7181fd63898b</d2p1:AnalyticId> <d2p1:CR>true</d2p1:CR> <d2p1:Color>sample string 10</d2p1:Color> <d2p1:DayTime>3</d2p1:DayTime> <d2p1:EditableHour>true</d2p1:EditableHour> <d2p1:ExtraHour>true</d2p1:ExtraHour> <d2p1:HalfDayTime>4</d2p1:HalfDayTime> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:Order>9</d2p1:Order> <d2p1:Payd>true</d2p1:Payd> <d2p1:ProfilId>c9f5d57b-97f6-410d-b31f-3b72b5bbd6bc</d2p1:ProfilId> <d2p1:Quota>true</d2p1:Quota> <d2p1:Id>620cb4ff-0bf8-4305-abd8-238fe4a85854</d2p1:Id> </d2p1:AbsenceDefinitionDto> <d2p1:AbsenceDefinitionDto> <d2p1:AnalyticId>6ae1b406-f69a-4bf0-82ae-7181fd63898b</d2p1:AnalyticId> <d2p1:CR>true</d2p1:CR> <d2p1:Color>sample string 10</d2p1:Color> <d2p1:DayTime>3</d2p1:DayTime> <d2p1:EditableHour>true</d2p1:EditableHour> <d2p1:ExtraHour>true</d2p1:ExtraHour> <d2p1:HalfDayTime>4</d2p1:HalfDayTime> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:Order>9</d2p1:Order> <d2p1:Payd>true</d2p1:Payd> <d2p1:ProfilId>c9f5d57b-97f6-410d-b31f-3b72b5bbd6bc</d2p1:ProfilId> <d2p1:Quota>true</d2p1:Quota> <d2p1:Id>620cb4ff-0bf8-4305-abd8-238fe4a85854</d2p1:Id> </d2p1:AbsenceDefinitionDto> </Absences> <Id>650d5329-81cf-4c8e-9459-77f9bd2f3f1e</Id> </AbsenceProfileDefinitionDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AbsenceProfileDtoName | 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. |
Response Formats
application/json, text/json
Sample:
{ "Id": "acccc3b6-0668-4364-8840-6034f6973c40", "Absences": [ { "Id": "d12a4f64-ffd6-4d6e-aabe-e863f31d09a6", "ProfilId": "a0dd431b-df6b-4c92-af4a-ad226a5a5687", "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": "8c4114a8-cb52-4dad-ab1c-b82530d8c514" }, { "Id": "d12a4f64-ffd6-4d6e-aabe-e863f31d09a6", "ProfilId": "a0dd431b-df6b-4c92-af4a-ad226a5a5687", "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": "8c4114a8-cb52-4dad-ab1c-b82530d8c514" } ], "CustomerId": "e93d4599-cdd6-4f11-801a-0197d1d6faa1", "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>e93d4599-cdd6-4f11-801a-0197d1d6faa1</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>8c4114a8-cb52-4dad-ab1c-b82530d8c514</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>a0dd431b-df6b-4c92-af4a-ad226a5a5687</d2p1:ProfilId> <d2p1:Quota>true</d2p1:Quota> <d2p1:Id>d12a4f64-ffd6-4d6e-aabe-e863f31d09a6</d2p1:Id> </d2p1:AbsenceDto> <d2p1:AbsenceDto> <d2p1:AnalyticId>8c4114a8-cb52-4dad-ab1c-b82530d8c514</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>a0dd431b-df6b-4c92-af4a-ad226a5a5687</d2p1:ProfilId> <d2p1:Quota>true</d2p1:Quota> <d2p1:Id>d12a4f64-ffd6-4d6e-aabe-e863f31d09a6</d2p1:Id> </d2p1:AbsenceDto> </Absences> <Id>acccc3b6-0668-4364-8840-6034f6973c40</Id> </AbsenceProfileDto>