cURL
curl --request GET \ --url 'https://sandbox.rollfi.xyz/reports#getTimeOffPolicyAssignments' \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "method": "getTimeOffPolicyAssignments", "companyId": "21DA3F1A-E593-42EE-95F5-A22EDF6382F0", "employeeId": "1755E872-9092-4ECE-8386-860531D492D3" } '
{ "timeOffPolicyAssignments": [ { "employeeId": "1755E872-9092-4ECE-8386-860531D492D3", "timeOffPolicyAssignmentId": "FB76A153-8358-4C2C-AD5A-60771C69EAD8", "timeOffPolicyId": "1BD5AB2B-AEEC-46CD-A93B-D1A68FB90C3A", "effectiveStartDate": "2025-10-01", "effectiveEndDate": "2026-11-01" } ] }
The getTimeOffPolicyAssignments API retrieves time off assignments filtered by company and employee
getTimeOffPolicyAssignments
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
Show child attributes