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

This forum is for programmers who have questions about the source code.
Post Reply
joelacob
Posts: 1
Joined: Mon Dec 02, 2024 2:09 pm

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

Post by joelacob » Mon Dec 02, 2024 2:11 pm

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!

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

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

Post by SLeon » Mon Dec 02, 2024 2:20 pm

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.

Post Reply