PUT ./orar/sio

It is used to modify a time slot.

  • The time slots should not overlap.
  • You can change only the name or only the time slots by calling the endpoint only with specific parameters.
  • to create a new time slot the parameter ioID should be 0.
  • The time slotis that are not present in the request will be deleted

PUT parameters

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

Validation

Error FieldError CodeError Message
sioID101Time slot does not exist.
ioOraStart, ioOraEnd103Invalid hour.
ioOraStart102Invalid time slot.

Output example

{
"result": true
}