POST api/VacationSettings/Save
Request Information
URI Parameters
None.
Body Parameters
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. |
Request 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:55.638291-04:00",
"ModifiedDate": "2025-10-27T18:33:55.638291-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:33:55.638291-04:00</CreationDate> <IsDeleted>true</IsDeleted> <ModifiedDate>2025-10-27T18:33:55.638291-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>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<long xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</long>