Update Time Slot

Updates the specified Time Slot by setting the values of the parameters passed. All parameters are updated, so any parameters not provided will be cleared.

SecurityOAuth2.0
Request
path Parameters
time-slot-id
required
string
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
200
put/time-slots/{time-slot-id}
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"
}