/update_exam.php POST 2 Add
This endpoint will add am exam to exam structure
Request
| Parameter | Type | Description |
|---|---|---|
| exam_name | string |
this is the name of exam to be updated |
| full_marks | number |
The full marks of the exam. |
| exam_no | number |
The number of occurances of this particular exam per term. |
| stud_id | number |
this is the id of the user. |
| pass | string |
this is the user's password. |
Response Success
{
"code":202,
"response":"success"
}
Response Auth Error
{
"code":351,
"msg":"User is unauthorized"
}
Response Param Error
{
"code":-9999,
"msg":"Parameter Error"
}