POST ./timetables
Create a new timetable.
POST parameters
Name | Value Type | Validation | Details |
---|---|---|---|
ascID | int | Required | The School year |
name | string | Required | The timetable name |
generationMethod | string | Required | Generation method: manual OR fet |
Validation
Error Field | Error Code | Error Message |
---|---|---|
ascID | 101 | Invalid ascID. |
ascID | 105 | All classes must have a schedule assigned. |
ascID | 106 | All classes must have at least an activity assigned. |
name | 102 | The name should be unique. |
generationMethod | 104 | generationMethod should be manual OR fet. |
Output example
{"id":16}