POST ./orar/sio

It is used to add a time slot.

The time slots should not overlap.

POST parameters

NameValue TypeValidationDetails
sioNumestringRequiredName.
ioOraStart[]arrayRequiredStart hour. Format HH:MM.
ioOraEnd[]arrayRequiredEnd hour. Format HH:MM.

Validation

Error FieldError CodeError Message
ioOraStart, ioOraEnd101Invalid hour.
ioOraStart102Invalid time slot.

Output example

{
"sioID": 45
}
``
export const _frontmatter = {"title":"","section":"Endpoints/Schedule","order":31}