POST ./medii/mgm
It is used to modify the general 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. |
| mgmValoare | float | Optional | Average value. Or empty for the recalculation. |
Validation
| Error Field | Error Code | Error Message |
|---|---|---|
| e2mID | 101 | Invalid e2mID. |
| mgmValoare | 101 | mgmValoare not in range. |
Output example
{"result": true}
