Skip to content

daysAvailableForRange

get open appointment times for a range (considered public)

Arguments

appointment_to_reschedule_id · ID · (optional) The ID of the appointment that will be rescheduled. Only needed if you want to use appointment-specific rescheduling restrictions
date_from_month · String · If not provided, defaults to the current date
end_date · String · When passed in, supercedes date_from_month. Must be passed in along with start_date
end_date_boundary · String · When passed in, slots after this will not be returned. Inclusive. YYYY-MM-DD format
licensed_in_state · String · Two letter state abbreviation (e.g. "CA", "NY")
org_level · Boolean · Required True if querying multiple providers
provider_id · String · Required
tag_ids · [ID] · Filters the provider list to only include users who have all of the specified tags applied. Ignored if org_level is not true
start_date · String · When passed in, supercedes date_from_month. Must be passed in along with end_date
start_date_boundary · String · When passed in, slots before this will not be returned. YYYY-MM-DD format

Returns

[String]

Example

query daysAvailableForRange(
$appointment_to_reschedule_id: ID
$appt_loc_id: String
$appt_type_id: String
$clients_can_join_waitlist: Boolean
$contact_type: String
$date_from_month: String
$end_date: String
$end_date_boundary: String
$length: String
$licensed_in_state: String
$org_level: Boolean
$outside_factors: Boolean
$provider_id: String
$provider_ids: [String]
$tag_ids: [ID]
$start_date: String
$start_date_boundary: String
$timezone: String
) {
daysAvailableForRange(
appointment_to_reschedule_id: $appointment_to_reschedule_id
appt_loc_id: $appt_loc_id
appt_type_id: $appt_type_id
clients_can_join_waitlist: $clients_can_join_waitlist
contact_type: $contact_type
date_from_month: $date_from_month
end_date: $end_date
end_date_boundary: $end_date_boundary
length: $length
licensed_in_state: $licensed_in_state
org_level: $org_level
outside_factors: $outside_factors
provider_id: $provider_id
provider_ids: $provider_ids
tag_ids: $tag_ids
start_date: $start_date
start_date_boundary: $start_date_boundary
timezone: $timezone
)
}