Create Time Slot

Creates a new Time Slot using the parameters passed in the request.

SecurityOAuth2.0
Request
header Parameters
x-api-key
string
tenant-id
string
Content-Type
string
Default: application/json
Request Body schema: application/json
optional
time_slot_id
required
string

The ID to identify the time slot

from
required
string^[0-2][0-3]:[0-5][0-9]$

The start time for the time slot

to
required
string^[0-2][0-3]:[0-5][0-9]$

The end time for the time slot

Responses
201
post/time-slots
Request samples
application/json
{
  • "time_slot_id": "string",
  • "from": "23:00",
  • "to": "20:00"
}
Response samples
application/json
{
  • "time_slot_id": "string",
  • "from": "23:00",
  • "to": "20:00"
}