List a leave policy's enrollments

List the workers enrolled in a leave policy. By default this returns ACTIVE and UPCOMING enrollments. Pass status to ask for others, like ENDED. Results are sorted by enrollment ID. See the Guide to the Leave Accrual API.

Path Params
string
required

The leave policy's id.

Query Params
status
array of strings

Only return enrollments with these statuses. Repeat the parameter to pass several. Defaults to ACTIVE and UPCOMING.

status
Allowed:
integer
Defaults to 0

Page index, starting at 0.

integer
Defaults to 20

Page size.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json