GET 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": "fbca5908-67f9-443d-a911-6fe55d0e300d", "UserID": "c799962a-d17d-4600-9f44-8178fa36bfdd", "AnnualVacationStart": "2024-11-26T07:44:51.6147875+03:00", "AnnualVacationEnd": "2024-11-26T07:44:51.6147875+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>2024-11-26T07:44:51.6147875+03:00</AnnualVacationEnd> <AnnualVacationStart>2024-11-26T07:44:51.6147875+03:00</AnnualVacationStart> <AssignedExtraOneHour>true</AssignedExtraOneHour> <AssignedInEidVacation>true</AssignedInEidVacation> <AssignedInWeekEnd>true</AssignedInWeekEnd> <ID>fbca5908-67f9-443d-a911-6fe55d0e300d</ID> <SubstitutionalRests>true</SubstitutionalRests> <UserID>c799962a-d17d-4600-9f44-8178fa36bfdd</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>