POST ./medii/msm
It is used to modify a semestrial average for a subject.
If the parameter msmValoare is empty, the current average will be deleted and a new average will be recalculated after the grades.
POST parameters
| Name | Value Type | Validation | Details |
|---|---|---|---|
| e2mID | int | Required | Association ID between a subject and a student. |
| sanID | int | Required | Semester ID. |
| msmValoare | float | Optional | Average value. Or empty for the recalculation. |
Validation
| Error Field | Error Code | Error Message |
|---|---|---|
| e2mID | 101 | Invalid e2mID. |
| sanID | 101 | Invalid sanID. |
| msmValoare | 101 | msmValoare not in range. |
Output example
{"result": true}
