POST ./note
It is used to add a grade.
The parameter notaTip can have the following values:
- 1 = oral examination
- 2 = thesis
- 3 = second examination
- 4 = initial testing
- 5 = specialized exam
- 6 = final testing
- 7 = test
- 8 = simulation
- 9 = project
POST parameters
Name | Value Type | Validation | Details |
---|---|---|---|
e2mID | int | Required | ID to student association to a subject. |
sanID | int | Required | Semester ID. |
notaData | string | Required | Date of the grade. |
notaValoare | float | Required | Grades value. |
notaTip | int | Required | Type of grade. |
notaObs | string | Optional | Observation for the grade. |
Validation
Error Field | Error Code | Error Message |
---|---|---|
e2mID | 101 | Invalid e2mID. |
e2mID | 102 | Invalid e2mID. Check permissions. |
sanID | 101 | Invalid sanID. |
sanID | 102 | Not in san date interval. |
notaData | 101 | Invalid notaData. |
notaData | 102 | notaData not in san data range. |
notaData | 103 | notaData is in the future. |
notaValoare | 101 | Invalid notaValoare. |
notaValoare | 102 | notaValoare not in range. |
notaValoare | 103 | Missing number too high. Only when behavior average, if the number of unexcused absences is too high for the grade. |
Output example
{"notaID": 8065}