DELETE ./note
It is used to delete a grade.
For deleting a grade we have the following 2 situations:
- if in the school config the option noteZileStergereFaraAprobare is not set, then the grade can be deleted without approval.
- if in the school config the option noteZileStergereFaraAprobare is set, then the grade can not be deleted without approval, but a cancellation request can be created by note/nps_post
DELETE parameters
| Name | Value Type | Validation | Details |
|---|---|---|---|
| notaID | int | Required | Grade ID. |
Validation
| Error Field | Error Code | Error Message |
|---|---|---|
| notaID | 101 | Invalid notaID. |
| notaID | 102 | noteZileStergereFaraAprobare had passed. |
| notaID | 103 | The note has a request for cancellation. |
Output example
{"result": true,"notaAnulataID": 15681}
