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

NameValue TypeValidationDetails
e2mIDintRequiredID to student association to a subject.
sanIDintOptionalSemester ID.
aojTipintRequiredvalues[1,2]; Activity type; 1 = +, 2 = -;
delTypestringRequiredDelete type.
aojIDintOptionalActivity ID.

Validation

Error FieldError CodeError Message
e2mID101Invalid npsID.
aojID102Invalid aojID.

Output example

{
"result": true
}