Tross
Demo dataBook a demo
GLACE

Create encounter

Create an encounter and open GI notes.

POSThttps://preview.ontross.com/api/integrations/glace/create-encounter
Request Fields
input.appointment_id
string
required
Scheduler appointment the encounter opens for, the appid from fetch-appointments.
Example
"731922"
input.patient_id
string
required
Glace internal patient id, not account_no, the patientid from fetch-appointments.
Example
"50731"
input.date
string
required
Appointment or encounter date, as Glace date fields expect.
Example
"04/14/2026"
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
encounter_id
string
Encounter from the chart's Past Encounters list, via fetch-encounters-patient.
Example
"975318"
Code
curl --request POST \
  --url https://preview.ontross.com/api/integrations/glace/create-encounter \
  --header 'X-API-Key: REPLACE_KEY_VALUE' \
  --header 'content-type: application/json' \
  --data '{"input":{"appointment_id":"731922","patient_id":"50731","date":"04/14/2026"},"auth_id":"auth_uuid_here"}'
Request BODY
{
  "input": {
    "appointment_id": "731922",
    "patient_id": "50731",
    "date": "04/14/2026"
  },
  "auth_id": "auth_uuid_here"
}
Response BODY
{
  "id": "string",
  "workflow_id": "string",
  "auth_id": "string",
  "status": "string",
  "input": {},
  "output": {
    "encounter_id": "975318"
  },
  "files": null,
  "created_at": "2019-08-24T14:15:22Z",
  "started_at": "2019-08-24T14:15:22Z",
  "completed_at": "2019-08-24T14:15:22Z"
}