Scheduler

List resource schedule blocks

Returns the availability schedule blocks for calendar resources within a date range. The blocks are sorted by datetime in ascending order.

A resource schedule block represents a time window during which a calendar resource (e.g., a veterinarian) is available for appointments. Use this endpoint to determine when resources are available for scheduling.

get/ext/v2/resource-schedule-blocks/

Request

  • Base URL
    https://connect.vetcove.com
  • URL
    https://connect.vetcove.com/ext/v2/resource-schedule-blocks/
  • Auth
    HTTP bearer

Query parameters

calendar_idinteger required

Required. The ID of the calendar to fetch resource schedule blocks for

start_datetime__gtestring required

Required. Start date for fetching resource schedule blocks. This will be translated to a datetime representing the start of the day in the clinic's timezone. Must be no more than 30 days before end_datetime__lte. Format: YYYY-MM-DD

end_datetime__ltestring required

Required. End date for fetching resource schedule blocks. This will be translated to a datetime representing the end of the day in the clinic's timezone. Must be no more than 30 days after start_datetime__gte. Format: YYYY-MM-DD

calendar_resource_idinteger nullable

Optional. The ID of the calendar resource to fetch event blocks for

Response

OK

has_moreboolean

Whether there are more pages or data in this list.

next_pagestring required

A URL linking to the next page of this list.

typestring

Type of this object. Always list.

Changes

No recorded changes to this operation across all 1 revision of this API.