Get time off usage
kiwihr_get_time_off_usageWho took (or requested) how much time off in a date range: per employee the request count and used days for each time off rule of the chosen time off types. Use it for absence reports ('who was off in March?'). Optional employee filters as in kiwihr_list_users. GraphQL query timeOffRequestUsageStatements.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Items per page (1-100, default 50). | |
| offset | No | Items to skip (default 0). The reply's pageInfo.next says whether there is another page. | |
| date_to | Yes | Range end (YYYY-MM-DD). | |
| sort_by | No | ||
| team_id | No | Only employees of this team. | |
| date_from | Yes | Range start (YYYY-MM-DD). | |
| is_active | No | true = active employees only. | |
| location_id | No | Only employees at this location. | |
| sort_direction | No | Sort direction (default ASC). | |
| time_off_type_ids | Yes | Time off type ids (from kiwihr_list_time_off_types). |