/get_subjects.php GET 2 Details

This wil fetch all details about the marks, for a particular subject, exam wise

Request     Test

Parameter Type Description
subject number this is the id of a subject. ie sub_id.
stud_id number this is the id of the user.
pass string this is the user's password.

Response Auth Error

{
   "code":351,
   "msg":"User is unauthorized"
}

Response Param Error

{
   "code":-9999,
   "msg":"Parameter Error"
}

Response Success

{
   "code":202,
   "response":[
      {
         "marks_id":"103",
         "marks":"48",
         "full_marks":"50",
         "percentage":"96.0",
         "assignment_id":"21",
         "exam_name":"Internal",
         "assesment_number":"1",
         "term_id":"24",
         "term_name":"Semester 2",
         "sub_id":"49",
         "subject_name":"Chemistry"
      },
      {
         "marks_id":"104",
         "marks":"45",
         "full_marks":"50",
         "percentage":"90.0",
         "assignment_id":"21",
         "exam_name":"Internal",
         "assesment_number":"2",
         "term_id":"24",
         "term_name":"Semester 2",
         "sub_id":"49",
         "subject_name":"Chemistry"
      },
      {
         "marks_id":"106",
         "marks":"91",
         "full_marks":"100",
         "percentage":"91.0",
         "assignment_id":"23",
         "exam_name":"Final",
         "assesment_number":"1",
         "term_id":"24",
         "term_name":"Semester 2",
         "sub_id":"49",
         "subject_name":"Chemistry"
      }
   ]
}