POST api/VacationSettings/GetAllByStaffID
Request Information
URI Parameters
None.
Body Parameters
tbl_VacationSettings| Name | Description | Type | Additional information |
|---|---|---|---|
| VacationSettingID | integer |
None. |
|
| SystemUserID | integer |
None. |
|
| VacationTypeID | integer |
None. |
|
| StaffID | integer |
None. |
|
| Year | integer |
None. |
|
| TotalDays | decimal number |
None. |
|
| IsDeleted | boolean |
None. |
|
| CreationDate | date |
None. |
|
| ModifiedDate | date |
None. |
|
| tbl_Staffs | tbl_Staffs |
None. |
|
| tbl_SystemUsers | tbl_SystemUsers |
None. |
|
| tbl_Vacations | Collection of tbl_Vacations |
None. |
|
| tbl_VacationTypes | tbl_VacationTypes |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of VacationSettingsDTO| Name | Description | Type | Additional 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:33:54.5915043-04:00",
"ModifiedDate": "2025-10-27T18:33:54.5915043-04:00"
},
{
"VacationSettingID": 1,
"VacationTypeID": 2,
"SystemUserID": 3,
"StaffID": 4,
"Year": 5,
"TotalDays": 6.1,
"Used": 7.1,
"IsDeleted": true,
"CreationDate": "2025-10-27T18:33:54.5915043-04:00",
"ModifiedDate": "2025-10-27T18:33:54.5915043-04:00"
}
]
application/xml, text/xml
Sample:
<ArrayOfVacationSettingsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR.Objects.DTOs">
<VacationSettingsDTO>
<CreationDate>2025-10-27T18:33:54.5915043-04:00</CreationDate>
<IsDeleted>true</IsDeleted>
<ModifiedDate>2025-10-27T18:33:54.5915043-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>
<VacationSettingsDTO>
<CreationDate>2025-10-27T18:33:54.5915043-04:00</CreationDate>
<IsDeleted>true</IsDeleted>
<ModifiedDate>2025-10-27T18:33:54.5915043-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>
</ArrayOfVacationSettingsDTO>