Api filter

For requests or help with our API
Post Reply
dheesha
Posts: 3
Joined: Tue Jun 14, 2022 10:20 am

Api filter

Post by dheesha » Wed Jun 15, 2022 9:51 am

In the appointment api want get all results or patients list those having provAbbr" ="DOC1", how I get this with the help of API

justine
Posts: 168
Joined: Tue Dec 28, 2021 7:59 am

Re: Api filter

Post by justine » Wed Jun 15, 2022 10:35 am

dheesha wrote:
Wed Jun 15, 2022 9:51 am
In the appointment api want get all results or patients list those having provAbbr" ="DOC1", how I get this with the help of API
Hello dheesha,

Firstly, getting all results via GET appointments.
Please see our documentation in the section titled "Appointments GET (multiple)": https://www.opendental.com/site/apiappointments.html
To test this API request, use the following URL:

Code: Select all

https://api.opendental.com/api/v1/appointments
This will return a list of all appointments.

You cannot currently filter appointments by ProvNum or ProvHyg, but we can add this to our development list.

Secondly, getting a list of patients filtered by ProvNum.
Please see our documentation in the section titled "Patients GET Simple": https://www.opendental.com/site/apipatients.html
Patients GET Simple allows you to filter patients by PriProv.
To test this API request, use the following URL:

Code: Select all

https://api.opendental.com/api/v1/patients/Simple?PriProv=1
This will return a list of all patients with a primary provider where ProvNum is 1.

Finally, you can get a list of all providers by using Providers GET.
Please see our documentation here: https://www.opendental.com/site/apiproviders.html
This will return a list of all providers with their ProvNum and Abbr information.

Post Reply