POST SecuritySystemAPI/EmployeeAssignments/AddEmployeeAssignments
Request Information
URI Parameters
None.
Body Parameters
EmployeeAssignmentInfoName | Description | Type | Additional information |
---|---|---|---|
ID | globally unique identifier |
None. |
|
UserID | globally unique identifier |
None. |
|
AnnualVacationStart | date |
None. |
|
AnnualVacationEnd | date |
None. |
|
AssignedInWeekEnd | boolean |
None. |
|
AssignedExtraOneHour | boolean |
None. |
|
AssignedInEidVacation | boolean |
None. |
|
SubstitutionalRests | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": "a38cd428-e360-4efc-8d7e-249a45cfce21", "UserID": "84809bbc-6571-462b-90c3-fbbf7c157364", "AnnualVacationStart": "2025-04-04T02:15:04.2810338+03:00", "AnnualVacationEnd": "2025-04-04T02:15:04.2810338+03:00", "AssignedInWeekEnd": true, "AssignedExtraOneHour": true, "AssignedInEidVacation": true, "SubstitutionalRests": true }
application/xml, text/xml
Sample:
<EmployeeAssignmentInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SecuritySystem.API.Models"> <AnnualVacationEnd>2025-04-04T02:15:04.2810338+03:00</AnnualVacationEnd> <AnnualVacationStart>2025-04-04T02:15:04.2810338+03:00</AnnualVacationStart> <AssignedExtraOneHour>true</AssignedExtraOneHour> <AssignedInEidVacation>true</AssignedInEidVacation> <AssignedInWeekEnd>true</AssignedInWeekEnd> <ID>a38cd428-e360-4efc-8d7e-249a45cfce21</ID> <SubstitutionalRests>true</SubstitutionalRests> <UserID>84809bbc-6571-462b-90c3-fbbf7c157364</UserID> </EmployeeAssignmentInfo>
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>