Get Policy
get
https://app.untetherlabs.com/api/v1/time-off/policies/{policyId}Path parameters#
policyIduuidQuery parameters#
expandstringAvailable expansions: properties, payCode
See Query Parameters for more information on expansions.
Response 200#
iduuidcreatedAtstringtypeenum- bereavement
- floating-holiday
- holiday-pay
- jury-duty
- learning-and-development
- paid-time-off
- vacation
- parental-leave
- personal-day
- sick
- volunteer
- weather
- wellness
- flex-day
- marriage-code
- unpaid-day
namestringdescriptionstring | nullaccrualUnitone ofOption 1 — AccrualUnit
enum
- hours
- days
yearlyAccrualnumber | nullAllowance granted per accrual period, in accrualUnit.
accrualPeriodRRulestring | nullRRULE describing when the balance resets.
propertiesanypayCodeIduuid | nullThe pay code for which associated time will be paid out.
payCodeone ofOption 1 — PayCode
iduuidnamestringshorthandNamestringhexColorstringtypeenum- hours
- days
- money
valuenumberenrolledbooleanOnly with defaultsForProviderId: whether that provider is enrolled in this policy.
suggestedbooleanOnly with defaultsForProviderId: most of the provider’s active teammates hold this policy. For vacation policies, only the single most common one is suggested.
teammateCountintegerOnly with defaultsForProviderId: number of the provider’s active teammates enrolled in this policy.
Errors#
A specified policy does not exist in the system.