Skip to content

timesForRange

deprecated use availableSlotsForRange.

Deprecated. Open appointment times for a provider over a date range. For a group appointment type, returns the dates of upcoming group appointments still open for booking; otherwise returns available start times derived from the provider's availabilities. Use availableSlotsForRange instead.

Arguments

appt_loc_id · ID · The ID of the appointment location
appt_type_id · ID · The ID of the appointment type
endDate · ISO8601DateTime · The end date for the query range
length · String · The appointment length in minutes
startDate · ISO8601DateTime · The start date for the query range

Returns

[String]

Example

query timesForRange(
$appt_loc_id: ID
$appt_type_id: ID
$endDate: ISO8601DateTime
$length: String
$startDate: ISO8601DateTime
) {
timesForRange(
appt_loc_id: $appt_loc_id
appt_type_id: $appt_type_id
endDate: $endDate
length: $length
startDate: $startDate
)
}