Get Timeoff Policy

Gets a timeoff policy from company

Authentication

X-Thera-API-Keystring
API Key authentication via header

Path parameters

companyIdstringRequired
policyIdstringRequired

Response

This endpoint returns an object.
idstring
policyNamestring
payTypeenum
leaveTypestring
allowanceTypeobject
midYearJoiningAllowanceenum
accrualTypemap from enums to enums
Whether the policy allowance is per month or per year
autoDeductEnabledmap from enums to booleans
Whether to automatically create deductions for PTO overages
createdByUserIdstring
creationTimestamplong
lastUpdationTimestamplong
timeOffPolicyAddedForset of enums
deletionDetailsobjectOptional
holidayDefinitionslist of objectsOptional
accrualConfigByEmploymentTypemap from enums to objectsOptional
carryoverConfigByEmploymentTypemap from enums to objectsOptional
negativeBalanceBehaviorByEmploymentTypemap from enums to enumsOptional