OpenDental API Version

For requests or help with our API
Post Reply
saravanan
Posts: 6
Joined: Fri Sep 23, 2022 9:01 am

OpenDental API Version

Post by saravanan » Wed Jul 19, 2023 4:28 am

Hello,

We work with multiple opendental installs with different version, we end up implementation new features which works on latest version but fails on older version. Is there a way to identify the version on the Opendental that we are hitting with?

For example, https://www.opendental.com/site/apidisc ... nsubs.html, DiscountPlanSubs PUT API is available only 22.3, we would like to use those against the practices which as matching versions.

Thanks,
Saravanan KR

SLeon
Posts: 482
Joined: Mon Mar 01, 2021 10:00 am

Re: OpenDental API Version

Post by SLeon » Wed Jul 19, 2023 8:22 am

There are many way you could implement versioning in your software. A popular approach is to have a single version of your application up-to-date and scale its use by the dental office's version. Another is to maintain different versions of your software and distribute them to dental offices when they update.

If you are looking for a way to get the version of a dental office via the API, you could either:
  • Use Preferences GET and specify 'ProgramVersion' as the PrefName parameter (api.opendental.com/api/v1/preferences?PrefName=ProgramVersion)
  • Use Queries PUT ShortQuery to retrieve it ("SqlCommand":"SELECT ValueString FROM Preference WHERE PrefName='ProgramVersion'")
If you need the version of the dental office outside the scope of your application, this information can be found in the Open Dental API Developer Portal (https://api.opendental.com/portal/gwt/fhirportal.html).

saravanan
Posts: 6
Joined: Fri Sep 23, 2022 9:01 am

Re: OpenDental API Version

Post by saravanan » Thu Jul 20, 2023 3:04 am

Thanks, it works.

Post Reply