POST SecuritySystemAPI/EmployeeAssignments/UpdateEmployeeAssignments
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": "0a3c2549-a10f-40d4-aec4-1b83610ca517", "UserID": "f89df005-6929-418f-9b48-f5d90bfc0b5b", "AnnualVacationStart": "2024-11-26T07:21:16.121266+03:00", "AnnualVacationEnd": "2024-11-26T07:21:16.121266+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:21:16.121266+03:00</AnnualVacationEnd> <AnnualVacationStart>2024-11-26T07:21:16.121266+03:00</AnnualVacationStart> <AssignedExtraOneHour>true</AssignedExtraOneHour> <AssignedInEidVacation>true</AssignedInEidVacation> <AssignedInWeekEnd>true</AssignedInWeekEnd> <ID>0a3c2549-a10f-40d4-aec4-1b83610ca517</ID> <SubstitutionalRests>true</SubstitutionalRests> <UserID>f89df005-6929-418f-9b48-f5d90bfc0b5b</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>