Absence definitions
Introduction
Through the API there’s a possibility to retrieve absence definitions.
Tip
Check the Swagger page for more technical information on the endpoints.
Endpoints
Below you can find the supported endpoints for this data collection:
External references
The absence-definitions collection supports both predefined and custom external references. More information can be found on the External References Page.
| Type | External reference | Description |
|---|---|---|
| Predefined | @absence-code |
The absence code configured in Protime for the absence definition. |
| Custom | customAbsenceCode |
A custom key-value pair managed by the 3rd party. |
Usage in other collections
Absence-definitions external references can also be used in the following collections:
Predefined example:
?externalReferences=(absence-definitions,@absence-code)
Custom example:
?externalReferences=(absence-definitions,customAbsenceCode)