v2

latestOpenAPI 3.0.02026-07-2632977728.5 KB
Clinical

Partially update a schedule block

Partially update an existing schedule block. You can modify the time, description, color, or other properties. Use this to reschedule a block or change its details.

patch/api/schedule_blocks/{id}

Path parameters

idstring required

Schedule block ID

Request body

descriptionstring

Description or reason for the schedule block (e.g., "Lunch Break", "Staff Meeting", "PTO")

officeinteger required

ID of the office where the schedule block is applied

colorstring

Custom color associated with the schedule block for calendar display

practice_groupinteger

ID of the practice group for the associated provider (doctor)

start_timestring date-time required

Start time of the schedule block in ISO 8601 format

exam_roominteger

ID of the exam room where the schedule block is applied

seriesinteger

Series ID if the schedule block is part of a recurring series

end_timestring date-time required

End time of the schedule block in ISO 8601 format

providerinteger required

ID of the provider or doctor who owns this schedule block

idinteger

Unique identifier for the schedule block

appointment_breakinteger

ID of an associated appointment break, if applicable

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

descriptionstring

Description or reason for the schedule block (e.g., "Lunch Break", "Staff Meeting", "PTO")

officeinteger required

ID of the office where the schedule block is applied

colorstring

Custom color associated with the schedule block for calendar display

practice_groupinteger

ID of the practice group for the associated provider (doctor)

start_timestring date-time required

Start time of the schedule block in ISO 8601 format

exam_roominteger

ID of the exam room where the schedule block is applied

seriesinteger

Series ID if the schedule block is part of a recurring series

end_timestring date-time required

End time of the schedule block in ISO 8601 format

providerinteger required

ID of the provider or doctor who owns this schedule block

idinteger

Unique identifier for the schedule block

appointment_breakinteger

ID of an associated appointment break, if applicable

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
}