PUT ./timetables/slots
Allows to update slots data.
| Name | Value Type | Validation | Details |
|---|---|---|---|
| ascId | int | Required | Anul scolar |
| days | array | Required | Zile intervale |
| slots | array(item: startHour, endHour) | Required | Intervale orare |
Validation
| Error Field | Error Code | Error Message |
|---|---|---|
| ascID | 101 | Invalid ascID |
| days | 26 | The field must contain a one of the following values:Sun,Mon,Tue,Wed,Thu,Fri,Sat |
| ascID | 102 | Invalid slots. |
Output
{"results": true}
