PUT ./timetables/{id}
Change the timetable name.
Name | Value Type | Validation | Details |
---|---|---|---|
name | string | Required if 'status' is absent | Timetable name |
status | string | Required if 'name' is absent | Timetable status |
Validation
Error Field | Error Code | Error Message |
---|---|---|
name | 101 | The name should be unique in the school year. |
status | 107 | Timetable status can not be changed |
Output example
{"success": true}