Fast and Standard Routes for On-Premise Practices
On-premise organisations (see On-Premise Connectivity) are reached through Halo Connect, which offers two routes to the practice’s database. The Dental API chooses the route for every request. You do not choose it and there is no parameter to set.
- Fast route. For small, targeted requests the answer typically comes back quickly.
- Standard route. Everything else goes through Halo Connect’s queue. Even a trivial query waits in the queue first, so answers are much slower, and large ones take longer still.
The difference is not the practice’s database, which usually answers in milliseconds. It is the time a request waits in Halo Connect’s queue on the standard route. Cloud-hosted organisations are not affected: they are always answered directly.
A request that would normally take the fast route can still take the standard route, for example overnight (see the table), or for an organisation where the fast route is not enabled. Design your integration so that every call works on either route.
Which requests take the fast route
A request takes the fast route when it asks for one small, well defined thing and carries no extra filters. All paths in the table start with /api/v1.
A patient |
| By | Yes |
A patient with a date window |
| One | No |
A patient's extended record |
| By patient id. | Yes |
A patient's recalls or balance |
| By patient id, with no other filter. Recall lists for a practitioner, a location or a date range (GET Recalls) take the standard route. | Yes |
A patient's treatments, treatment plans or clinical notes |
| For one | No |
A patient's appointments |
| For one | Yes |
A patient search |
| By | Yes |
A front desk patient search |
| Any of | Yes |
An appointment |
| By appointment id (as the path id or the | Yes |
Appointments for a day |
| For one | No |
Appointments for a window |
| For one | No |
Cancelled appointments |
| With | No |
An invoice's details |
| By invoice id. | No |
A receipt |
| By receipt id. | No |
Appointment slots |
| Every slot search. | Yes |
Appointment writes |
| Create, update, cancel and reschedule an appointment. Copying an appointment ( | Yes |
Patient writes |
| Create and update a patient. A create that forces a duplicate ( | No |
The last column shows whether the request still takes the fast route between 11:45 pm and 6:00 am Sydney time (see Limits).
Which requests take the standard route
Everything else, including date range lists across many patients, “changes since” reads, other searches, practice wide appointment lists, large reports, and any request that adds a filter or a value outside the shapes above. A request that almost fits a fast shape but carries an extra filter takes the standard route. It is never changed to fit.
How to get the fast route
- Ask for one thing at a time: one patient, or one practitioner or appointment book for one day.
- Do not add filters that the table does not list.
- For a screen that a person is waiting on, use the fast shapes. For background jobs that need many records, use date range or bulk parameters (the standard route) and run them outside the overnight window.
- Looping over many practitioners, books or patients with single requests multiplies your request count. Per-organisation rate limits (see Rate Limits) and the practice’s daily Halo Connect allowance (
503RP-5037, see On-Premise Connectivity) still apply.
Limits
- A patient’s appointment list on the fast route is cut at 1,000 rows. No real patient has anywhere near that many.
- Appointment windows and cancelled appointment windows on the fast route are also limited to 1,000 rows. When a result reaches that limit, the Dental API runs the request once more on the standard route, so you still receive every row. That answer is slower.
- A fast route request that runs too long, or returns more than 8 MB, falls back to the standard route.
- Overnight window. Between 11:45 pm and 6:00 am Sydney time (the usual overnight backup window), requests marked No in the last column of the table take the standard route, because the practice database may be starting. Requests marked Yes still try the fast route overnight, but if the database is starting, the fast attempt can time out and be retried on the standard route, so the call can take much longer. If the practice is known to be offline, requests return a retryable
503with a longerRetry-After. - If a read on the fast route times out or is cut off, the Dental API retries it once on the standard route. The answer still arrives, only slower.
- Writes are never repeated after an unclear result. A timeout on a write does not prove it was not saved: read the record again before sending it a second time, or resend a create with the same
Idempotency-Key. - Fast does not mean unlimited. Per-organisation rate limits (see Rate Limits) and Halo Connect’s own request allowance for the practice still apply, and a busy practice can still return
502,503or504.
This list will grow
We move more request types onto the fast route as we confirm they are small and safe, one measured shape at a time. Do not hard-code which requests are fast. The table is current as of the date of its publication.
Timeouts and retries
- Set your client timeout to 60 seconds for requests that take the fast route, and to at least 300 seconds for requests that take the standard route. Overnight (between 11:45 pm and 6:00 am Sydney time), use 300 seconds for every on-premise request.
- Treat a timeout as inconclusive, not as a confirmed failure. A fast route request that reaches 60 seconds may have fallen back to the standard route: for a read, retry it with the 300 second timeout; for a write, check whether it was saved before sending it again.
- Retry reads that return
429,502,503or504with backoff, and wait at least the time in theRetry-Afterheader when one is returned. For writes, check whether the change was saved before sending it again.
On this page
- Fast and Standard Routes for On-Premise Practices