v1

latestOpenAPI 3.0.12026-08-041753011.2 MB
Balance

Get balances for a policy

get/v1/workspaces/{workspaceId}/time-off/balance/policy/{policyId}

Path parameters

workspaceIdstring required

Represents a workspace identifier across the system.

Example:60f91b3ffdaf031696ec61a8

Represents a workspace identifier across the system.

policyIdstring required

Represents a policy identifier across the system.

Example:63034cd0cb0fb876a57e93ad

Represents a policy identifier across the system.

Query parameters

pageinteger
Example:1
page-sizeinteger
Example:50
sort'USER' | 'POLICY' | 'USED' | 'BALANCE' | 'TOTAL'

If provided, you'll get result sorted by sort column.

sort-order'ASCENDING' | 'DESCENDING'

Sort results in ascending or descending order.

Response

OK