/get_subjects.php GET 1 List
This wil fetch the subjects from a particular term
Request Test
Parameter | Type | Description |
---|---|---|
term_id | number |
this is the id of a term. |
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 Success
{ "code":202, "response":[ { "sub_id":"48", "sub_name":"English" }, { "sub_id":"49", "sub_name":"Chemistry" }, { "sub_id":"50", "sub_name":"Computer" }, { "sub_id":"51", "sub_name":"Biology" } ] }
Response Param Error
{ "code":-9999, "response":"Parameter Error" }