Get Timeoff Policy
Gets a timeoff policy from company
Authentication
X-Thera-API-Keystring
API Key authentication via header
Path parameters
companyId
policyId
Response
This endpoint returns an object.
id
policyName
payType
Allowed values:
leaveType
allowanceType
midYearJoiningAllowance
Allowed values:
accrualType
Whether the policy allowance is per month or per year
Allowed values:
Allowed values:
autoDeductEnabled
Whether to automatically create deductions for PTO overages
Allowed values:
createdByUserId
creationTimestamp
lastUpdationTimestamp
timeOffPolicyAddedFor
Allowed values:
deletionDetails
holidayDefinitions
accrualConfigByEmploymentType
Allowed values:
carryoverConfigByEmploymentType
Allowed values:
negativeBalanceBehaviorByEmploymentType
Allowed values:
Allowed values:

