GET SecuritySystemAPI/EmployeeAssignments/AddAnnualVacation

Request Information

URI Parameters

None.

Body Parameters

AnnualVacation
NameDescriptionTypeAdditional 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": "42717d4a-3e85-4072-a312-f10c5ce50ca4",
  "AnnualVacationID": "999242bb-6a9b-4811-bb37-397eaf2459dc",
  "VacationStartDate": "2025-04-04T02:31:45.6085768+03:00",
  "VacationEndDate": "2025-04-04T02:31:45.6085768+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>999242bb-6a9b-4811-bb37-397eaf2459dc</AnnualVacationID>
  <UserID>42717d4a-3e85-4072-a312-f10c5ce50ca4</UserID>
  <VacationEndDate>2025-04-04T02:31:45.6085768+03:00</VacationEndDate>
  <VacationStartDate>2025-04-04T02:31:45.6085768+03:00</VacationStartDate>
</AnnualVacation>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AnnualVacation'.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>