Referrals API Update
Posted: Fri Jan 19, 2024 11:15 am
Hi all,
New to the forums, going to bundle a couple things here under a primary question. Let me know if you prefer things broken up. The gist of my goal here is, I'm hoping to surface referral options to users as they book appointments. The clinic I'm working with has many referrals set up; I want only the non-human and also "preferred" options.
The GET /referrals endpoint doesn't offer me filtering options, or I don't understand how to use filtering on the open GET calls. I haven't succeeded here with anything, open to suggestions because I *believe* that passing query params is supposed to work here, but doesn't seem to.
Without being able to filter in the call, I am getting a limit of 100 items, where this clinic seems to have multiple hundreds (of which, only six are useful to me). I would like to be able to specify a larger page size, but it doesn't seem to be possible, but iterating with offsets seems a bit silly.
The response is missing some/most of the fields that are present in the OpenDental UI. In general, this is ok for my use case - I don't need things like address, but specifically, if nothing else in this post were addressed, providing the "preferred referral" field present in the desktop would be great.
The other fields in the response are inconsistent, which in itself isn't a major problem, but providing both Specialty and specialty seems problematic. Could this instead have something like SpecialtyNum and SpecialtyDescription?
Sorry again if there's a different preferred way to do this, support suggested I come over here.
New to the forums, going to bundle a couple things here under a primary question. Let me know if you prefer things broken up. The gist of my goal here is, I'm hoping to surface referral options to users as they book appointments. The clinic I'm working with has many referrals set up; I want only the non-human and also "preferred" options.
The GET /referrals endpoint doesn't offer me filtering options, or I don't understand how to use filtering on the open GET calls. I haven't succeeded here with anything, open to suggestions because I *believe* that passing query params is supposed to work here, but doesn't seem to.
Without being able to filter in the call, I am getting a limit of 100 items, where this clinic seems to have multiple hundreds (of which, only six are useful to me). I would like to be able to specify a larger page size, but it doesn't seem to be possible, but iterating with offsets seems a bit silly.
The response is missing some/most of the fields that are present in the OpenDental UI. In general, this is ok for my use case - I don't need things like address, but specifically, if nothing else in this post were addressed, providing the "preferred referral" field present in the desktop would be great.
The other fields in the response are inconsistent, which in itself isn't a major problem, but providing both Specialty and specialty seems problematic. Could this instead have something like SpecialtyNum and SpecialtyDescription?
Sorry again if there's a different preferred way to do this, support suggested I come over here.