PUT ./exemptions/{exemptionID}
Update an exemption. You should be headteacher or secretary/headmaster.
For files you should use the endpoint /fisiere/upload.
PUT parameters
| Name | Value Type | Validation | Details |
|---|---|---|---|
| files | array | Optional | A list of file ID |
| showInReports | int | Required (for exemption type subject) | Show details in reports |
| justifyAbsences | int | Required (for exemption type subject) | A list of file ID |
Validation
| Error Field | Error Code | Error Message |
|---|---|---|
| exemptionID | 101 | Invalid exemption id or no permissions |
| exemptionID | 105 | Has blocked periods and changes can not be made |
| files | 106 | Invalid fsID |
Output example
{"success": true}
