/get_list_term.php GET
This will simply fetch the list of terms for a user
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 Success
{
"code":202,
"response":[
{
"term_id":"23",
"term_name":"Semester 1"
},
{
"term_id":"24",
"term_name":"Semester 2"
}
]
}
Response Param Error
{
"code":-9999,
"msg":"Parameter Error"
}