Tross
Demo dataBook a demo
GLACE

Fetch appointments

List a doctor's appointments for one date.

POSThttps://preview.ontross.com/api/integrations/glace/fetch-appointments
Request Fields
input.date
string
required
Appointment or encounter date, as Glace date fields expect.
Example
"04/14/2026"
input.doc_id
string
required
Doctor's scheduler resource id, not a document id, from fetch-providers.
Example
"3"
auth_id
string
required
Saved connection to run this operation through, from the Authentication page. It decides which practice and login the call uses.
Example
"00000000-0000-4000-8000-000000000000"
Output Fields
appointments
array
One entry per visit on that doctor's day, earliest first.
appointments[].appid
string
Scheduler appointment identifier, the create-encounter appointment_id input.
Example
"8452731"
appointments[].account_no
string
Patient's Glace account number from Patient Book search, not patient_id.
Example
"104827"
appointments[].patientid
string
Glace internal patient id, not the account number.
Example
"682941"
appointments[].patientname
string
Patient's name as the scheduler holds it.
Example
"Morgan Testwell"
appointments[].patientdob
string
Patient's date of birth carried on the appointment.
Example
"08/21/1983"
appointments[].patientage
string
Patient's age at the time of the appointment.
Example
"42"
appointments[].sex
string
Patient's sex as the scheduler records it.
Example
"Female"
appointments[].appdate
string
Scheduled date of the visit, in Glace's month, day, year form.
Example
"03/18/2026"
appointments[].starttime
string
Clock time the appointment is scheduled to begin.
Example
"09:00 AM"
appointments[].endtime
string
Clock time the appointment is scheduled to finish.
Example
"09:30 AM"
appointments[].duration
string
How long the appointment is scheduled to run.
Example
"30"
appointments[].typename
string
Appointment type as the scheduler names it.
Example
"Follow Up"
appointments[].statusname
string
Appointment status as the scheduler words it.
Example
"Confirmed"
appointments[].locationname
string
Clinic location the appointment is booked at.
Example
"North Office"
appointments[].ownername
string
Scheduler resource, usually the doctor, that owns the slot.
Example
"Dr. Avery Sample"
appointments[].appnotes
string
Free text staff typed onto the appointment.
Example
"Patient requested an early morning visit."
appointments[].app_reason
string
Visit reason from the Excel export, blank when matching fails.
Example
"Blood pressure follow-up"
appointments[].cancel_reason
string
Cancellation reason from the Excel export, empty for live appointments.
Example
"Patient requested rescheduling due to a work conflict."
appointments[].homephone
string
Patient's home number carried on the appointment.
Example
"202-555-0142"
appointments[].workphone
string
Patient's work number carried on the appointment.
Example
"202-555-0168"
appointments[].patientcellno
string
Patient's mobile number carried on the appointment.
Example
"202-555-0183"
appointments[].bookedbyname
string
Staff member who created the appointment.
Example
"Jamie Example"
appointments[].bookedtime
string
When the appointment was booked, not when it happens.
Example
"03/10/2026 02:15 PM"
Code
curl --request POST \
  --url https://preview.ontross.com/api/integrations/glace/fetch-appointments \
  --header 'X-API-Key: REPLACE_KEY_VALUE' \
  --header 'content-type: application/json' \
  --data '{"input":{"date":"04/14/2026","doc_id":"3"},"auth_id":"auth_uuid_here"}'
Request BODY
{
  "input": {
    "date": "04/14/2026",
    "doc_id": "3"
  },
  "auth_id": "auth_uuid_here"
}
Response BODY
{
  "id": "string",
  "workflow_id": "string",
  "auth_id": "string",
  "status": "string",
  "input": {},
  "output": {
    "appointments": [
      {
        "appid": "8452731",
        "account_no": "104827",
        "patientid": "682941",
        "patientname": "Morgan Testwell",
        "patientdob": "08/21/1983",
        "patientage": "42",
        "sex": "Female",
        "appdate": "03/18/2026",
        "starttime": "09:00 AM",
        "endtime": "09:30 AM",
        "duration": "30",
        "typename": "Follow Up",
        "statusname": "Confirmed",
        "locationname": "North Office",
        "ownername": "Dr. Avery Sample",
        "appnotes": "Patient requested an early morning visit.",
        "app_reason": "Blood pressure follow-up",
        "cancel_reason": "Patient requested rescheduling due to a work conflict.",
        "homephone": "202-555-0142",
        "workphone": "202-555-0168",
        "patientcellno": "202-555-0183",
        "bookedbyname": "Jamie Example",
        "bookedtime": "03/10/2026 02:15 PM"
      }
    ]
  },
  "files": null,
  "created_at": "2019-08-24T14:15:22Z",
  "started_at": "2019-08-24T14:15:22Z",
  "completed_at": "2019-08-24T14:15:22Z"
}