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
OpenDental API Version
Re: OpenDental API Version
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:
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'")
Re: OpenDental API Version
Thanks, it works.