GET api/VacationSettings/GetByID/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

VacationSettingsDTO
NameDescriptionTypeAdditional information
VacationSettingID

integer

None.

VacationTypeID

integer

None.

SystemUserID

integer

None.

StaffID

integer

None.

Year

integer

None.

TotalDays

decimal number

None.

Used

decimal number

None.

IsDeleted

boolean

None.

CreationDate

date

None.

ModifiedDate

date

None.

Response Formats

application/json, text/json

Sample:
{
  "VacationSettingID": 1,
  "VacationTypeID": 2,
  "SystemUserID": 3,
  "StaffID": 4,
  "Year": 5,
  "TotalDays": 6.1,
  "Used": 7.1,
  "IsDeleted": true,
  "CreationDate": "2025-10-27T18:26:34.1413494-04:00",
  "ModifiedDate": "2025-10-27T18:26:34.1413494-04:00"
}

application/xml, text/xml

Sample:
<VacationSettingsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR.Objects.DTOs">
  <CreationDate>2025-10-27T18:26:34.1413494-04:00</CreationDate>
  <IsDeleted>true</IsDeleted>
  <ModifiedDate>2025-10-27T18:26:34.1413494-04:00</ModifiedDate>
  <StaffID>4</StaffID>
  <SystemUserID>3</SystemUserID>
  <TotalDays>6.1</TotalDays>
  <Used>7.1</Used>
  <VacationSettingID>1</VacationSettingID>
  <VacationTypeID>2</VacationTypeID>
  <Year>5</Year>
</VacationSettingsDTO>