Query
query ListAppointments {
listAppointments {
count
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
edges {
cursor
node {
id
number
status
appointmentRemindersEnabled
historical
startAt
}
}
}
}Response
{
"data": {
"listAppointments": {
"count": 1,
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
},
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"number": 1,
"status": "string",
"appointmentRemindersEnabled": true,
"historical": true,
"startAt": "value"
}
}
]
}
}
}Queries
listAppointments
QUERY
listAppointments(first: Int, before: String, after: String, last: Int, filters: AppointmentListFilters, orderBy: [AppointmentListOrder!]): AppointmentConnectionArguments
first
Int
The number of records to return from the beginning. Maximum 500
before
String
Show records before the specified keyset.
after
String
Show records after the specified keyset.
last
Int
The number of records to return to the end. Maximum 500
filters
orderBy
Returns
count
Int
Total count on all pages
pageInfo
Page information
edges
:appointment edges
Query
query ListAppointments {
listAppointments {
count
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
edges {
cursor
node {
id
number
status
appointmentRemindersEnabled
historical
startAt
}
}
}
}Response
{
"data": {
"listAppointments": {
"count": 1,
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
},
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"number": 1,
"status": "string",
"appointmentRemindersEnabled": true,
"historical": true,
"startAt": "value"
}
}
]
}
}
}