Leave Types
Get Leave Type
Retrieve a specific leave type by ID
GET
Get detailed information about a specific leave type configuration.
Authentication
Requires authentication with Bearer token. Available to:- Super Admin
- HR Manager
- Employee
- Manager
Path Parameters
string
required
The unique identifier of the leave type (UUID format)Example:
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"Response
boolean
Indicates if the request was successful
object
The leave type object
Use Cases
This endpoint is useful for:- Displaying leave type details in a form before submitting a leave request
- Showing leave policies to employees
- Verifying leave type configuration
- Building leave request interfaces
All authenticated employees can view leave type details, but only Super Admin and HR Manager roles can modify leave types.