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": "043a5c1b-93ac-4b23-9d38-a8068066470d",
  "AnnualVacationID": "cbc65d70-d37a-48f9-bb59-843511cac1ea",
  "VacationStartDate": "2024-11-26T07:35:41.2065008+03:00",
  "VacationEndDate": "2024-11-26T07:35:41.2065008+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>cbc65d70-d37a-48f9-bb59-843511cac1ea</AnnualVacationID>
  <UserID>043a5c1b-93ac-4b23-9d38-a8068066470d</UserID>
  <VacationEndDate>2024-11-26T07:35:41.2065008+03:00</VacationEndDate>
  <VacationStartDate>2024-11-26T07:35:41.2065008+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>