"Duration" of X and / setting

For requests or help with our API
Post Reply
graham_mueller
Posts: 44
Joined: Fri Jan 19, 2024 10:57 am

"Duration" of X and / setting

Post by graham_mueller » Tue Feb 20, 2024 5:58 pm

In the desktop client, you can specify whether the system displays in 5/10/15 minute intervals. Is this setting exposed via the API? I'm not sure what name to search, and I haven't been able to find something that seems appropriately named.

ETA: Specifically, in the Open Dental desktop application, you can find this setting in Setup -> Appointments -> Appointment Views

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

Re: "Duration" of X and / setting

Post by justine » Tue Feb 20, 2024 8:20 pm

graham_mueller wrote:
Tue Feb 20, 2024 5:58 pm
In the desktop client, you can specify whether the system displays in 5/10/15 minute intervals. Is this setting exposed via the API? I'm not sure what name to search, and I haven't been able to find something that seems appropriately named.

ETA: Specifically, in the Open Dental desktop application, you can find this setting in Setup -> Appointments -> Appointment Views
Good evening graham_mueller,

You can find out the minute interval by using GET preferences.

Code: Select all

https://api.opendental.com/api/v1/preferences?PrefName=AppointmentTimeIncrement
Thanks!

riteshchopra
Posts: 1
Joined: Wed Apr 03, 2024 10:52 am

Re: "Duration" of X and / setting

Post by riteshchopra » Wed Dec 18, 2024 8:40 pm

Does this "Appointment Time Increment" setting also decide how much the appointment duration will be when we are defining based on a Appointment pattern?

Via the API I'm getting this value as 10, which also aligns with the 10 min blocks that I see in OpenDental.

But when I book an appointment with pattern "//XX//" it gets booked in Open Dental as 30 mins. Isn't the Appointment Time Increment supposed to correspond to time for each / or X?

RyanH
Posts: 24
Joined: Thu Dec 19, 2024 8:33 am

Re: "Duration" of X and / setting

Post by RyanH » Thu Dec 19, 2024 9:57 am

riteshchopra wrote:
Wed Dec 18, 2024 8:40 pm
Does this "Appointment Time Increment" setting also decide how much the appointment duration will be when we are defining based on a Appointment pattern?

Via the API I'm getting this value as 10, which also aligns with the 10 min blocks that I see in OpenDental.

But when I book an appointment with pattern "//XX//" it gets booked in Open Dental as 30 mins. Isn't the Appointment Time Increment supposed to correspond to time for each / or X?
Good morning riteshchopra,

The "Appointment Time Increment" preference doesn't affect how the appointment.Pattern is stored, each "/" or "X" will always represent 5 minutes. "Appointment Time Increment" is used to convert the appointment.Pattern as needed to 10 or 15 minute representations for display within OpenDental.

Further clarification can be found here.

Thanks!

Post Reply