POST SecuritySystemAPI/EmployeeAssignments/AddAnnualVacation
Request Information
URI Parameters
None.
Body Parameters
AnnualVacationName | Description | Type | Additional information |
---|---|---|---|
UserID | globally unique identifier |
None. |
|
AnnualVacationID | globally unique identifier |
None. |
|
VacationStartDate | date |
None. |
|
VacationEndDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserID": "5be91a9a-b56b-4b4a-9992-dc1fa466c0ba", "AnnualVacationID": "dc497b2d-2016-4d9a-9271-c8109ecf2910", "VacationStartDate": "2025-04-04T02:30:21.9734892+03:00", "VacationEndDate": "2025-04-04T02:30:21.9734892+03:00" }
application/xml, text/xml
Sample:
<AnnualVacation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SecuritySystem.API.Models"> <AnnualVacationID>dc497b2d-2016-4d9a-9271-c8109ecf2910</AnnualVacationID> <UserID>5be91a9a-b56b-4b4a-9992-dc1fa466c0ba</UserID> <VacationEndDate>2025-04-04T02:30:21.9734892+03:00</VacationEndDate> <VacationStartDate>2025-04-04T02:30:21.9734892+03:00</VacationStartDate> </AnnualVacation>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>