v1
latestOpenAPI 3.1.02026-07-2422707.0 MBUpdate the blockout time of a room
Use this API to update the blockout time of the specified room.
put/v1/rooms/{room_id}/blockouttimes/{block_out_time_id}?expand[]=ReccuringDetails
Path parameters
room_idstring required
Mandatory Unique 32-character identifier of the room for which you want to update the blockout time.
block_out_time_idstring required
Mandatory Unique 32-character identifier of the room's blockout ID for which this API updates the corresponding blockout time information.
Response
200
Example response
{
"block_out_times": [
{
"block_out_time_id": "eb3bd248-53ea-4724-b5dc-09c661c366b6",
"room": {
"id": "699ec863-c155-4c4b-bf58-5310a7d1df1c",
"name": "15% Premium Room"
},
"block_out_time_type": {
"id": 103,
"name": "modelling",
"duration": 15
},
"start_time": "2018-09-07T11:45:00",
"end_time": "2018-09-07T12:45:00",
"start_time_in_center": "2018-09-07T17:15:00",
"end_time_in_center": "2018-09-07T18:15:00",
"notes": "painting",
"recurring_block_out_time": {
"id": "efec3dce-5ae8-4744-a272-f78543c691d4",
"time_period": "Daily",
"interval": 1,
"rec_start_date": "2018-09-07T00:00:00",
"occurences": 3
}
}
]
}