DELETE ./note/activitate
It is used to delete the activity.
Depending on the parameter delType we have the following situation:
- value - aojID; parameter aojID will become mandatory and the activity with the specified ID will not be canceled.
- value - oldest; it will delete the latest aojTip activity type.
- value - all; it will canceled all aojTip activity types.
DELETE parameters
Name | Value Type | Validation | Details |
---|---|---|---|
e2mID | int | Required | ID to student association to a subject. |
sanID | int | Optional | Semester ID. |
aojTip | int | Required | values[1,2]; Activity type; 1 = +, 2 = -; |
delType | string | Required | Delete type. |
aojID | int | Optional | Activity ID. |
Validation
Error Field | Error Code | Error Message |
---|---|---|
e2mID | 101 | Invalid npsID. |
aojID | 102 | Invalid aojID. |
Output example
{"result": true}