PUT ./exemptions/{exemptionID}

Update an exemption. You should be headteacher or secretary/headmaster.

For files you should use the endpoint /fisiere/upload.

PUT parameters

NameValue TypeValidationDetails
filesarrayOptionalA list of file ID
showInReportsintRequired (for exemption type subject)Show details in reports
justifyAbsencesintRequired (for exemption type subject)A list of file ID

Validation

Error FieldError CodeError Message
exemptionID101Invalid exemption id or no permissions
exemptionID105Has blocked periods and changes can not be made
files106Invalid fsID

Output example

{
"success": true
}