/term_wise_subjects.php GET

This will fetch the subjects term wise

Request     Test

Parameter Type Description
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":[
      {
         "term_id":"24",
         "term_name":"Semester 2",
         "subjects":[
            {
               "sub_id":"48",
               "sub_name":"English"
            },
            {
               "sub_id":"49",
               "sub_name":"Chemistry"
            },
            {
               "sub_id":"50",
               "sub_name":"Computer"
            },
            {
               "sub_id":"51",
               "sub_name":"Biology"
            }
         ]
      },
      {
         "term_id":"23",
         "term_name":"Semester 1",
         "subjects":[
            {
               "sub_id":"45",
               "sub_name":"Physics"
            },
            {
               "sub_id":"46",
               "sub_name":"Maths"
            },
            {
               "sub_id":"47",
               "sub_name":"Mechanics"
            }
         ]
      }
   ]
}