/get_term_wise.php GET 2 AVG
This will fetch average score per exam in a particular term
Request Test
| Parameter | Type | Description |
|---|---|---|
| term_id | number |
this is the id of the term, ie the term_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
[
{
"marks_id":"99",
"avg":"43.7500",
"exam_name":"Internal",
"ass_id":"21",
"full_marks":"50",
"term_id":"24",
"assesment_number":"1"
},
{
"marks_id":"101",
"avg":"44.5000",
"exam_name":"Internal",
"ass_id":"21",
"full_marks":"50",
"term_id":"24",
"assesment_number":"2"
},
{
"marks_id":"102",
"avg":"89.2500",
"exam_name":"Final",
"ass_id":"23",
"full_marks":"100",
"term_id":"24",
"assesment_number":"1"
}
]