POST ./conduita/elev

It is used to add the behavior for a student.

If the parameter cmID is present cmeTip, cmeText,cmePunctaj will be taken from the predefined reason and they should not be used in the POST method.

If the parameter cmID is not present cmeTip, cmeText will become mandatory. If cmeTip has a score cmePunctaj will become mandatory too.

Parameter cmeTip will have the follwing values:

  • 1 = reward
  • 2 = deviation
  • 3 = remark

POST parameters

NameValue TypeValidationDetails
elevIDintRequiredStudent ID.
sanIDintRequiredSemester ID.
cmIDintOptionalPredefined reason ID.
cmeTipintOptionalBehavior type. It will not be used if parameter cmID is present.
cmeTextstringOptionalThe reason for the behavior. It will not be used if parameter cmID is present.
cmePunctajintOptionalThe score for the behavior. It will not be used if parameter cmID is present.
cmeDatarfc_dateRequiredDate.

Validation

Error FieldError CodeError Message
cmID101Invalid cmID.

Output example

{
"cmeID": 8065
}