v2
latestOpenAPI 3.0.02026-07-2632977728.5 KBClinical
Update a schedule block
Update an existing schedule block. Unlike PATCH, PUT requires all fields to be provided. Use this when you want to completely replace the schedule block data.
put/api/schedule_blocks/{id}
Path parameters
idstring required
Schedule block ID
Request body
Example request
{
"description": "Lunch Break",
"office": 200,
"color": "#FF5733",
"practice_group": 1,
"start_time": "2024-03-15T12:00:00",
"exam_room": 1,
"series": null,
"end_time": "2024-03-15T13:00:00",
"provider": 100,
"id": 12345,
"appointment_break": null
}Response
OK - Schedule block updated
Example response
{
"description": "Lunch Break",
"office": 200,
"color": "#FF5733",
"practice_group": 1,
"start_time": "2024-03-15T12:00:00",
"exam_room": 1,
"series": null,
"end_time": "2024-03-15T13:00:00",
"provider": 100,
"id": 12345,
"appointment_break": null
}