v1
latestOpenAPI 3.1.02026-07-2422707.0 MBCreate a recurring room blockout time
Recurring blockout time block the time of the room every day repeatedly. To block a time for the room on the appointment book you can actually create a block out time for that room on the Appointment book whose ID is passed as {{room_id}}.Supply the BlockOutTimeRequest object as a body and call this api to create a blockout time.
send rec_end_date or occurences, but not both while creating a recurring block out time
post/v1/rooms/{room_id}/blockouttimes?expand[]=ReccuringDetails
Path parameters
room_idstring required
Unique identifier of the room.
Response
200
Example response
{
"block_out_times": [
{
"block_out_time_id": "3374387d-86ee-49f3-a16e-026a71d4ee9c",
"room": {
"id": "699ec863-c155-4c4b-bf58-5310a7d1df1c",
"name": "15% Premium Room"
},
"block_out_time_type": {
"id": 103,
"name": "modelling",
"duration": 15
},
"start_time": "2018-10-10T10:15:00",
"end_time": "2018-10-10T10:30:00",
"start_time_in_center": "2018-10-10T15:45:00",
"end_time_in_center": "2018-10-10T16:00:00",
"notes": "new machines to the room",
"recurring_block_out_time": {
"id": "0486ebc6-7889-428b-8fa9-f18477a106d8",
"time_period": "Daily",
"interval": 1,
"rec_start_date": "2018-10-10T00:00:00",
"occurences": 3
}
}
]
}