Returns the users' workloads per day.

GET

Returns the users’ workloads per day for projects, tasks, task schedules and calendar events that have an overlap with the interval specified by intervalStart and intervalEnd. Takes into consideration weekly availability, absences, user capacity, planned efforts, as well as project budget.

Required Permissions: The user must be an admin or have user-planning-data:read permissions.

Query parameters

userIdsmap from strings to anyRequired
The ids of the users to get the workload for.
intervalStartdatetimeRequired
The start of the interval to filter by.
intervalEnddatetimeRequired
The end of the interval to filter by.
roughPlanningFromintegerRequired
The number of days from today when the rough planning should start.
fetchDetailsbooleanOptional
(Optional - default: false) If set to true, the result will contain the hierarchy of elements that are contributing to the workload (projects, tasks, appointments). Otherwise it will return only the workload value. Works only for single day queries.

Response

This endpoint returns a list of objects
userIdstringOptional
workloadslist of objectsOptional