Page 1 of 1
"Duration" of X and / setting
Posted: Tue Feb 20, 2024 5:58 pm
by graham_mueller
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
Re: "Duration" of X and / setting
Posted: Tue Feb 20, 2024 8:20 pm
by justine
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!
Re: "Duration" of X and / setting
Posted: Wed Dec 18, 2024 8:40 pm
by riteshchopra
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?
Re: "Duration" of X and / setting
Posted: Thu Dec 19, 2024 9:57 am
by RyanH
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!