GET api/userauthentication/{userId}/Absence

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

integer

Required

Body Parameters

None.

Response Information

Resource Description

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.

Response Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "UserName": "sample string 2",
  "StatusId": 3,
  "StatusDesc": "sample string 4",
  "OOFStartDate": "2024-10-18T05:19:45.1258665+01:00",
  "OOFEndDate": "2024-10-18T05:19:45.1258665+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:19:45.1258665+01:00</OOFEndDate>
  <OOFStartDate>2024-10-18T05:19:45.1258665+01:00</OOFStartDate>
  <StatusDesc>sample string 4</StatusDesc>
  <StatusId>3</StatusId>
  <UserId>1</UserId>
  <UserName>sample string 2</UserName>
</AusentUserExtensionModel>