Time Off Policy
Get a time off policy
Changed onGet a single time off policy by id. Archived policies are returned too.
get/api/business/{businessId}/time-off-policy/{timeOffPolicyId}
Request
- Base URLhttp://api-gateway-eu.phorest.com/third-party-api-server
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
businessIdstring required
Business id
timeOffPolicyIdstring required
Time off policy id
Response
Time off policy found
Example response
{
"timeOffPolicyId": "eTC3QY5W3p_HmGHezKfxJw",
"name": "Parental Leave",
"description": "Statutory parental leave",
"policyType": "PAID_LEAVE",
"paid": true
}Changes
- info
endpoint added
- info