Past Appointments

Use the pastAppointments query to retrieve the list of appointments that have occurred for the user.

Arguments

Argument
Type
Description

first

Int

Retrieves the first results from the list.

last

Int

Retrieves the last results from the list.

after

String

before

String

start

DateTime

Set start date to retrieve results. YYYY-MM-DDT hh:mm:ss

end

DateTime

Set end date to retrieve results. YYYY-MM-DDT hh:mm:ss

Available Fields

Field

Type

Description

id

ID

A base64-encoded version of the databaseId

appointmentCredits

AppointmentCredit

appointmentType

AppointmentType!

attendees

string

coach

string

contactType

CalendarContactType!

enum: GOOGLE_MEET, PHONE_CALL, VIDEO_CALL, ZOOM

description

String

Description of the appointment.

end

DateTime!

Date and time when the appointment will end. YYYY-MM-DDT hh:mm:ss

labTestReports

LabTestReportConnection

Lab test report assigned to the appointment.

meetingUrl

String

URL of the meeting.

postEventStatus

PostEventStatus

enum: CANCELED_BY_COACH, CANCELED_BY_MEMBER, COACH_NO_SHOW COMPLETED, MEMBER_NO_SHOW, RESCHEDULED_BY_ADMIN, RESCHEDULED_BY_COACH, RESCHEDULED_BY_MEMBER, SCHEDULED

start

DateTime!

Date and time when the appointment will start. YYYY-MM-DDT hh:mm:ss

status

EventStatus!

enum: CANCELLED, CONFIRMED, TENTATIVE, UNKNOW

title

String!

Title of the appointment.

zoomSessionName

String

Zoom session name.

ZoomSessionPassword

String

Zoom session password.

Example

query {pastAppointments (start:"2023-10-31T06:00:00+00:00")
{
  edges{
    node{
      title
      start
      end
      id
      coach{
        name
      }
    }
  }
}
}

Last updated