GET SecuritySystemAPI/EmployeeAssignments/GetEmployeeAssignmentsByUserId/{GUID}/{UserID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
GUID | string |
Required |
|
UserID | string |
Required |
Body Parameters
None.
Response Information
Resource Description
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. |
Response Formats
application/json, text/json
Sample:
{ "ID": "2c58e61b-2fc5-46c4-b1ee-dc2716498568", "UserID": "5ee424b9-107e-46a4-893a-378e6810467d", "AnnualVacationStart": "2024-11-26T07:38:59.3642966+03:00", "AnnualVacationEnd": "2024-11-26T07:38:59.3642966+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:38:59.3642966+03:00</AnnualVacationEnd> <AnnualVacationStart>2024-11-26T07:38:59.3642966+03:00</AnnualVacationStart> <AssignedExtraOneHour>true</AssignedExtraOneHour> <AssignedInEidVacation>true</AssignedInEidVacation> <AssignedInWeekEnd>true</AssignedInWeekEnd> <ID>2c58e61b-2fc5-46c4-b1ee-dc2716498568</ID> <SubstitutionalRests>true</SubstitutionalRests> <UserID>5ee424b9-107e-46a4-893a-378e6810467d</UserID> </EmployeeAssignmentInfo>