v1
latestOpenAPI 3.0.02026-07-14800227.2 KBTime off
Return a list of time-off statuses.
This endpoint returns an object with the balance details for a given time-off type and user.
get/time-off/status
Query parameters
_userIdstring required
Example:60a2db290da29e126a18789b
A _userId is required to retrieve the time-off statuses.
_timeOffTypeIdstring required
Example:60a2db290da29e126a18789c
A _timeOffTypeId is required to retrieve the time-off statuses.
Headers
Authorizationstring required
Example:Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJodHRwczovL2FwaS5rZW5qby5pbyIsInN1YiI6IjYwZjBhOTE2MjE0OTg3MjU2YmU5YzhmZiIsImF1ZCI6Imh0dHBzOi8vYXBpLmtlbmpvLmlvIiwiaWF0IjoxNjI2Mzg1MTE1LCJuYmYiOjE2MjYzODUxMTUsImV4cCI6MTYyNjU1NzkxNSwiYWNjZXNzVHlwZSI6IkFwaUFjY2VzcyIsInNfb3JnSWQiOiI2MGYwNGVhN2RmN2JhMjFlY2U0YmYzYzIifQ.cxG_7dIS-VbmDXdJuLkekoyuyCIzQG2fMcgc0nkfbWE8cihhcb5FnALbQkjU9b5-qVcEoMHZlSuUA-jMEBMMVQ
A valid bearer token.
Response
OK.
Example response
{
"_userId": "50a2db290da29e126a18789a",
"_timeOffTypeId": "50a2db290da29e126a18789f",
"timeOffTypeName": "Holidays",
"policyName": "Holidays 24 days",
"totalAllowance": 24,
"cycleAllowance": 21,
"prevCycleCarryOver": 3,
"alreadyTaken": 5,
"planned": 9,
"available": 10,
"carryOverEnabled": true,
"takenFromCarryOver": 3,
"carryOverExpiresAt": "2024-03-31T00:00:00"
}