API: Get Specific Employee

Request

Retrieve a specific employee by ID:

GET /employees/{id}

Sample Response:

                    
{
    "status": "success",
    "message": "Employee retrieved successfully",
    "data": {
        "id": 1,
        "name": "XYZ",
        "contact_no": "01XXXXXXXX",
        "email": "xyz@example.com",
        "photo": "",
        "father_name": "XYZ Father",
        "mother_name": "XYZ Mother",
        "date_of_birth": "1990-04-01",
        "nid_or_passport_no": "XXXXXXXXXXXX",
        "nid_or_passport_no_image": "",
        "job_type": "Full Time",
        "duty_hour": "8:30",
        "joining_date": "2020-01-01",
        "present_address": "Dhaka",
        "permanent_address": "Dhaka",
        "district_id": "1",
        "designation_id": "1",
        "license_category": "Heavy Vehicle Driver",
        "license_no": "XXXXXXXXXX",
        "license_expired_date": "2030-01-01",
        "religion": "Human",
        "blood_group": "A+",
        "marital_status": "Married",
        "reference_name": "ABC",
        "reference_contact_no": "01XXXXXXXXXX",
        "reference_remark": "",
        "nominee_name": "ABC",
        "nominee_contact_no": "01XXXXXXXXXX",
        "nominee_photo": "",
        "nominee_nid_or_passport_no": "XXXXXXXXXXXX",
        "nominee_relation": "Brother",
        "academics": [
            {
                "degree": "BSc",
                "field_of_study": "CES",
                "institute": "Dhaka University",
                "passing_year": "2020",
                "grade": "3.50"
            }
        ],
        "experiences": [
            {
                "organization": "Shohag",
                "position": "Computer Operator",
                "start_date": "2020-01-01",
                "end_date": "2025-01-01",
                "responsibility": "Computer Operator"
            }
        ],
        "status": 1,
        "created_by": 2,
        "updated_by": 2,
        "created_at": "2021-02-15T12:00:00",
        "updated_at": "2021-02-15T12:00:00",
        "deleted_at": null
    }
}