POST api/userauthentication/Absence

Request Information

URI Parameters

None.

Body Parameters

AusentUserExtensionModel
NameDescriptionTypeAdditional information
UserId

integer

None.

UserName

string

None.

StatusId

integer

None.

StatusDesc

string

None.

OOFStartDate

date

None.

OOFEndDate

date

None.

OOFAutoDelegate

boolean

None.

OOFDelegateUserId

integer

None.

OOFDelegateUserName

string

None.

OOFAbsenceReason

string

None.

IsSiteMasterRole

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "UserName": "sample string 2",
  "StatusId": 3,
  "StatusDesc": "sample string 4",
  "OOFStartDate": "2024-10-18T05:24:12.5652153+01:00",
  "OOFEndDate": "2024-10-18T05:24:12.5652153+01:00",
  "OOFAutoDelegate": true,
  "OOFDelegateUserId": 1,
  "OOFDelegateUserName": "sample string 5",
  "OOFAbsenceReason": "sample string 6",
  "IsSiteMasterRole": true
}

application/xml, text/xml

Sample:
<AusentUserExtensionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GabineteDigital.Services.Models">
  <IsSiteMasterRole>true</IsSiteMasterRole>
  <OOFAbsenceReason>sample string 6</OOFAbsenceReason>
  <OOFAutoDelegate>true</OOFAutoDelegate>
  <OOFDelegateUserId>1</OOFDelegateUserId>
  <OOFDelegateUserName>sample string 5</OOFDelegateUserName>
  <OOFEndDate>2024-10-18T05:24:12.5652153+01:00</OOFEndDate>
  <OOFStartDate>2024-10-18T05:24:12.5652153+01:00</OOFStartDate>
  <StatusDesc>sample string 4</StatusDesc>
  <StatusId>3</StatusId>
  <UserId>1</UserId>
  <UserName>sample string 2</UserName>
</AusentUserExtensionModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>