Time Offs
Retrieve time off details by ID
Get detailed information about a specific time off request by its unique identifier.
This endpoint allows you to:
- Retrieve complete details of a time off request
- View the current status and approval state
- Access time off dates, duration, and description
- See time off type information
get/v1/timeoffs/{timeOffId}
Path parameters
timeOffIdstring required
Unique identifier of the time off request
Response
Time off details retrieved successfully
Example response
{
"timeOffId": "660e8400-e29b-41d4-a716-446655440003",
"status": "APPROVED",
"startDate": {
"date": "2025-11-15",
"session": "FULL_DAY"
},
"endDate": {
"date": "2025-11-15",
"session": "FULL_DAY"
},
"noOfDays": 6,
"description": "Family vacation",
"type": {
"typeId": "550e8400-e29b-41d4-a716-446655440001",
"key": "annual"
},
"createdOn": "2025-10-23T10:30:00Z",
"updatedOn": "2025-10-23T11:45:00Z"
}