POST ./timetables/{id}/duplicate
Create a new timetable but with a different name.
POST parameters
Name | Value Type | Validation | Details |
---|---|---|---|
name | string | Required | The new timetable name |
Validation
Error Field | Error Code | Error Message |
---|---|---|
name | 102 | The name should be unique. |
id | 106 | The timetable does not exist. |
ascID | 105 | All classes must have a schedule assigned |
ascID | 106 | All classes must have at least an activity assigned |
Output example
{"id": 11}