Returns the absence type with the given identifier.

GET /people/absence-types/{id}

Group: People Management › Absence Types · Operation ID: getAbsenceType

Open in the interactive reference

Parameters

Name In Type Required Description
Api-Version header "v1" yes The API version this request targets, named by its public identifier. Required on every request; omitting it, or naming a version this company does not have, is answered with 400. This document describes version v1.
id path string yes The unique identifier for the absence type to return.

Response

200 Success

Under data (getAbsenceTypeOutput):

Field Type Required Description
id string yes The unique identifier for the absence type.
name string yes The display name of the absence type.
category string, one of "sickLeave", "vacation", "other", "overtime" yes The category the absence type belongs to.
description string no A longer description of the absence type. Absent when none is set.

Errors

Code Status
NOT_FOUND 400

Statuses