GET horizon/v1/manager/employees?includeChildren={includeChildren}
Retrieves a list of employees with number of absences, vacations,..
Notes: Odataoperators ge, le for property StartDate\EndDate
eq for property AuthorizationState
Example
"horizon/v1/manager/employees?$filter=StartDate ge 2017-01-01T23:59:00Z and EndDate le 2018-01-01T23:59:00Z and AuthorizationState eq 20"
"horizon/v1/manager/employees?$filter=StartDate ge 2017-01-01T23:59:00Z and AuthorizationState eq 20"
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| includeChildren | boolean |
Default value is True |
Body Parameters
None.
Response Information
Resource Description
Collection of Milenio3.Horizon.Dto.Entities.Manager.EmployeeProductivityDto| Name | Description | Type | Additional information |
|---|---|---|---|
| JobTitle | string |
None. |
|
| AbsencesCount | integer |
None. |
|
| VacationsCount | integer |
None. |
|
| OvertimesCount | integer |
None. |
|
| TimeEventsCount | integer |
None. |
|
| CompanyCode | integer |
None. |
|
| FullName | string |
None. |
|
| DisplayName | string |
None. |
|
| Photo | string |
None. |
|
| Id | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"JobTitle": "sample string 1",
"AbsencesCount": 2,
"VacationsCount": 3,
"OvertimesCount": 4,
"TimeEventsCount": 5,
"CompanyCode": 6,
"FullName": "sample string 7",
"DisplayName": "sample string 8",
"Photo": "sample string 9",
"Id": 10
},
{
"JobTitle": "sample string 1",
"AbsencesCount": 2,
"VacationsCount": 3,
"OvertimesCount": 4,
"TimeEventsCount": 5,
"CompanyCode": 6,
"FullName": "sample string 7",
"DisplayName": "sample string 8",
"Photo": "sample string 9",
"Id": 10
}
]