Get Leave Application by ID
GET/api/leave-applications/{id}
Headers
| Field | Type | Description |
|---|---|---|
| authtoken | String | Authentication token, generated from admin area |
curl -X GET "https://yoursite.com/api/leave-applications/123" \
-H "authtoken: YOUR_API_TOKEN" Success-Response:
{
"id": "1",
"leave_type_id": "1",
"applicant_id": "1",
"start_date": "2024-01-15",
"end_date": "2024-01-17",
"reason": "Personal",
"status": "pending"
}