Get Time Off Policies By Company

Returns all time off policies for a company along with their contractor associations and default policy ids, sourced from the time off policy table. Use this instead of reading timeOffSettings off the company object.

Authentication

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

Path parameters

companyIdstringRequired

Response

This endpoint returns an object.
policieslist of objects
defaultTimeOffPoliciesset of strings
associatedUserIdsByPolicyIdmap from strings to sets of strings