api > thera > timeoff > Time Off Management

Get Accrual Ledger History

Returns the full ledger of accruals, usage, carryovers, adjustments, and reversals for a user + policy. Accessible by the user themselves or any manager.

get/companies/{companyId}/contractors/{userId}/timeoff-policies/{policyId}/accrual-history

Request

  • Base URL: https://api.getthera.com
  • URL: https://api.getthera.com/companies/{companyId}/contractors/{userId}/timeoff-policies/{policyId}/accrual-history
  • Auth: API key in header X-Thera-API-Key

Path parameters

companyIdstring required
userIdstring required
policyIdstring required

Query parameters

fromDatestring
toDatestring
entryType'ACCRUAL' | 'USAGE' | 'CARRYOVER' | 'CARRYOVER_EXPIRY' | 'MANUAL_ADJUSTMENT' | 'POLICY_CHANGE_ADJUSTMENT' | 'CLIFF_GRANT' | 'USAGE_REVERSAL'

Response

Response with status 200

userIdstring required
policyIdstring required
currentBalancenumber double required

Changes

No recorded changes to this operation across all 1 revision of this API.