POST ./orar/sio
It is used to add a time slot.
The time slots should not overlap.
POST parameters
Name | Value Type | Validation | Details |
---|---|---|---|
sioNume | string | Required | Name. |
ioOraStart[] | array | Required | Start hour. Format HH:MM. |
ioOraEnd[] | array | Required | End hour. Format HH:MM. |
Validation
Error Field | Error Code | Error Message |
---|---|---|
ioOraStart, ioOraEnd | 101 | Invalid hour. |
ioOraStart | 102 | Invalid time slot. |
Output example
{"sioID": 45}``export const _frontmatter = {"title":"","section":"Endpoints/Schedule","order":31}