Skip to content

appointmentLocations

Fetch paginated appointment locations collection

Arguments

appointment_date · String · Pass in datetime of the appointment to limit the locations based on room availability
appointment_type_id · ID · Pass in id of the appointment type to limit the locations based on room availability
with_availability · Boolean · When true, only locations with associated availabilities are returned. When false, only locations with no associated availabilities are returned. Does nothing unless availability by location enabled.
after · String · Returns the elements in the list that come after the specified cursor.
before · String · Returns the elements in the list that come before the specified cursor.
first · Int · Returns the first _n_ elements from the list.
last · Int · Returns the last _n_ elements from the list.

Returns

AppointmentLocationPaginationConnection

Example

query appointmentLocations(
$appointment_date: String
$appointment_type_id: ID
$ids: [Int]
$keywords: String
$location_ids: [ID]
$org_level: Boolean
$provider_id: ID
$provider_ids: [ID]
$resource: String
$with_availability: Boolean
$after: String
$before: String
$first: Int
$last: Int
) {
appointmentLocations(
appointment_date: $appointment_date
appointment_type_id: $appointment_type_id
ids: $ids
keywords: $keywords
location_ids: $location_ids
org_level: $org_level
provider_id: $provider_id
provider_ids: $provider_ids
resource: $resource
with_availability: $with_availability
after: $after
before: $before
first: $first
last: $last
) {
edges
nodes
page_info
total_count
}
}