ZEDMED
List availability
List future unbooked appointment openings.
POSThttps://preview.ontross.com/api/integrations/zedmed/list-availability
Request Fields
input.clinic_code
string
requiredZedmed clinic/site code.
Example
"DEMO_CLINIC"input.date
string
requiredDate to search for slots, in ISO 8601 format: YYYY-MM-DD.
Example
"2026-11-17"input.doctor_code
string
Optional treating-doctor code.
Example
"DEMO_DOC"input.limit
integer
Maximum slots to return. Defaults to 200; maximum 500.
Example
200Default
200auth_id
string
requiredSaved 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
slots
array
Unbooked future openings on that date at that clinic.
slots[].clinic_code
string
Site lookup value associated with this opening.
Example
"DEMO_CLINIC"slots[].doctor_code
string
Treating physician lookup value associated with this opening.
Example
"DEMO_DOC"slots[].doctor_name
string
Treating doctor on this slot or appointment.
Example
"Dr Jordan Ellis"slots[].resource_id
integer
Numeric key of the room or chair booked.
Example
900001slots[].resource_name
string
Room or chair the slot or appointment uses.
Example
"Consulting Room 2"slots[].appt_day
string
Calendar date the free slot falls on.
Example
"2026-11-17"slots[].start_point
string
When the slot or appointment starts, despite the name.
Example
"2026-11-17T09:00:00"slots[].end_point
string
When the slot or appointment ends, despite the name.
Example
"2026-11-17T09:15:00"Code
curl --request POST \
--url https://preview.ontross.com/api/integrations/zedmed/list-availability \
--header 'X-API-Key: REPLACE_KEY_VALUE' \
--header 'content-type: application/json' \
--data '{"input":{"clinic_code":"DEMO_CLINIC","date":"2026-11-17","doctor_code":"DEMO_DOC","limit":200},"auth_id":"auth_uuid_here"}'Request BODY
{
"input": {
"clinic_code": "DEMO_CLINIC",
"date": "2026-11-17",
"doctor_code": "DEMO_DOC",
"limit": 200
},
"auth_id": "auth_uuid_here"
}Response BODY
{
"id": "string",
"workflow_id": "string",
"auth_id": "string",
"status": "string",
"input": {},
"output": {
"slots": [
{
"clinic_code": "DEMO_CLINIC",
"doctor_code": "DEMO_DOC",
"doctor_name": "Dr Jordan Ellis",
"resource_id": 900001,
"resource_name": "Consulting Room 2",
"appt_day": "2026-11-17",
"start_point": "2026-11-17T09:00:00",
"end_point": "2026-11-17T09:15:00"
}
]
},
"files": null,
"created_at": "2019-08-24T14:15:22Z",
"started_at": "2019-08-24T14:15:22Z",
"completed_at": "2019-08-24T14:15:22Z"
}