Allowance Management

Read an allowance type

Changed on

Returns a single allowance type of the workspace.

get/allowance-types/{id}

Request

  • Base URL
    https://api.absentify.com/api/v1
  • URL
    https://api.absentify.com/api/v1/allowance-types/{id}
  • Auth
    API key in header X-API-KEY

Path parameters

idstring uuid required

Query parameters

locale'en' | 'de' | 'fr' | 'hu' | 'it' | 'pl' | 'pt' | 'ru' | 'es' | 'tr' | 'uk'

Response

Successful response

idstring required
namestring required

Translated into locale when one is given, otherwise into the API key owner's language, falling back to the stored name where no translation exists.

default_namestring required

The stored name, without any translation applied.

allowance_unit'days' | 'hours' required

Whether this type is counted in days or in minutes.

ignore_allowance_limitboolean required

When true, members may book more than their balance and go negative.

default_rule_idstring nullable required

The rule a new member of this workspace is put on. A department default rule takes precedence over it.

default_rule_manually_managedboolean required

When true, new members are managed manually unless their department selects a rule.

workspace_idstring required
createdAtstring required
updatedAtstring required

Changes

    • warning

      changed the pattern of the path request parameter id from ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$ to ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

    • info

      added the required property to the response with the status