Page 1 of 1

Is there an api route/way to get which version the user is using?

Posted: Mon Dec 02, 2024 2:11 pm
by joelacob
We only support a certain version of opendental integration so we would like to have an automated way of telling which version the user is on!

Thanks!

Re: Is there an api route/way to get which version the user is using?

Posted: Mon Dec 02, 2024 2:20 pm
by SLeon
If using the Open Dental API, you can utilize the Preferences GET endpoint:

Code: Select all

https://api.opendental.com/api/v1/preferences?PrefName=ProgramVersion
will return

Code: Select all

[
    {
        "PrefNum": 68,
        "PrefName": "ProgramVersion",
        "ValueString": "24.2.23.0"
    }
]
Use "PrefName=DataBaseVersion" if you need the version of the database instead.