cURL
curl --request GET \ --url https://platform.thena.ai/v1/users/time-off \ --header 'Authorization: Bearer <token>'
{ "status": true, "message": "Success", "timestamp": "2024-01-01T00:00:00.000Z", "data": [ { "id": "<string>", "startDate": "<string>", "endDate": "<string>", "description": "<string>", "type": "<string>" } ] }
Enter the bearer token
The page number to fetch time offs by
x >= 1
1
The limit number of time offs to fetch
1 <= x <= 100
10
Operation successful
The status of the response
The message of the response
The timestamp of the response
The time offs fetched
Show child attributes
The id of the time off
The start date of the time off in Zulu time
The end date of the time off in Zulu time
The description of the time off
The type of the time off