PUT ./absente

It is user to modify an absence.(unexcused/excused)

If the professor wants to change the absStatus from 2 to 1 this will be possible only if the professor has sync permission or the time after the absence has been excused is less than a minute.

PUT parameters

NameValue TypeValidationDetails
absIDintRequiredAbsence ID
absStatusintOptional; Values[1,2]1 = unexcused absence; 2 = excused absences
absObsstringOptional;The observation

Validation

Error FieldError CodeError Message
absID101Invalid absID.
absStatus101absStatus same as current.
absStatus102absZileMotivare had passed.
absStatus103sanDataEnd had passed.
absStatus104Absence is excude by a medical exemption
absStatus105Revert time elapsed.

Output example

{
"result": true
}