Absence instances

Absence instances

The API provides access to absence instances as you can see them in a person’s day details in myProtime. These absence “instances” will just be called “absences”; everything else will be named more specifically, e.g., absence definitions and absence requests.

Tip

Check the Swagger page for more technical information on the endpoints.

Endpoints

External references

The absences collection supports both predefined and custom external references on related collections. More information can be found on the External References Page.

Collection Predefined Custom
people @badge-number, @employee-number Supported
shift-definitions @shift-code Supported
absence-definitions @absence-code Supported

Predefined example:
?externalReferences=(people,@badge-number)

Custom example:
?externalReferences=(absence-definitions,customAbsenceCode)

Multiple example:
?externalReferences=(people,@employee-number)(absence-definitions,@absence-code)