Skip to content

Latest commit

 

History

History
28 lines (25 loc) · 710 Bytes

get_student_details_by_id.md

File metadata and controls

28 lines (25 loc) · 710 Bytes
Endpoint Method Description
/api/v1/student/:id GET Retrieve details of a student by ID.

Success Response

{
    "status": 200,
    "student": {
        "_id": "66eefebeef3eb9259f1610ea",
        "ID": "R200716",
        "StudentName": "JILAKARA REVANTH KUMAR",
        "Gender": "Boy",
        "Category": "BC-B",
        "FatherName": "Adi Narayana",
        "BATCH": "2020",
        "__v": 0
    }
}

Failure Response

{
    "message": "Student not found"
}