/add_marks.php POST

This endpoint will add new marks for the user

Request

Parameter Type Description
marks number this is the marks to be added.
term_id number this is the term_id where the marks will be added.
sub_id number this is the id of the subject for the marks.
ass_id number this is the id of the exam the marks is from.
ass_no number this is the exam number of the exact exam for the marks.
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"
}