Zum Inhalt springen

User Absence Quota Coverage

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

Attribute Description Details
covered Whether the user’s absence quotas cover the given period for an absence type Boolean. Is also true when an absence type requires no quota

Example response:

{
"data": {
"id": "a6cdcc7c-3873-4a7a-a1cd-e0a2f6169304:2026-06-01:2026-06-10",
"type": "absence_quota_coverage",
"attributes": {
"covered": true
}
}
}

This endpoint reports whether the user’s absence quotas cover the given period for an absence type. The resource id is the absence type id followed by the parsed start and end dates.

GET /api/v1/users/:user_id/absence_quota_coverage

Parameter Description
user_id ID of the user for whom to check absence quota coverage.

The following query parameters are mandatory:

Parameter Description
absence_type_id ID of the absence type whose quota type is checked.
starts_at First day of the period, inclusive. ISO 8601 date or datetime; the calendar date in the value is used.
ends_at Last day of the period, inclusive. ISO 8601 date or datetime; the calendar date in the value is used.

Example: GET /api/v1/users/user-1/absence_quota_coverage?absence_type_id=a6cdcc7c-3873-4a7a-a1cd-e0a2f6169304&starts_at=2026-06-01&ends_at=2026-06-10