List the capacity of employees per day, week or month
GET/planning.capacity.list
Returns a row per employee per day, week (from Monday) or calendar month that overlaps the range: the hours of their schedule and the hours taken by written hours, leave and absence, assignments and, when planning on sales is on, sales assignments. The employees are those the capacity planner shows: users with a schedule in the range, sorted on name. The filters narrow them down; filters on different sets must all match. A caller who may not view the planning of every employee only gets their own rows. Leave and absence of a colleague are apart only for a caller whom /hrm/leave and /hrm/absence would show them; anyone else gets only absentHours. Pages hold rows, so a page can end halfway an employee; rows can shift between pages when employees change between two calls.
Request
Responses
- 200
- 400
- 403
- 422
The capacity of each employee in each period, also of the periods without any hours.
An id filter holds a value that is not an id of its type
Forbidden
A parameter is missing or holds a value it does not accept, or the range touches more than 93 days, 53 weeks or 25 months