POST ./timetables

Create a new timetable.

POST parameters

NameValue TypeValidationDetails
ascIDintRequiredThe School year
namestringRequiredThe timetable name
generationMethodstringRequiredGeneration method: manual OR fet

Validation

Error FieldError CodeError Message
ascID101Invalid ascID.
ascID105All classes must have a schedule assigned.
ascID106All classes must have at least an activity assigned.
name102The name should be unique.
generationMethod104generationMethod should be manual OR fet.

Output example

{
"id":16
}