Page 1 of 1
Defect: API Appointments PUT - ProvNum is ignored, does not update
Posted: Mon Aug 12, 2024 12:31 pm
by rinse-dental
USE CASE: Reschedule an existing scheduled appointment.
ISSUE: Appointment AptDateTime and Op is updated; however, the new ProvNum is ignored.
EXAMPLE:
PUT /api/v1/appointments/[AptNum]
{
"AptDateTime": [New AptDateTime],
"ProvNum": [New ProvNum],
"Op": [New OpNum]
}
https://www.opendental.com/site/apiappointments.html
Re: Defect: API Appointments PUT - ProvNum is ignored, does not update
Posted: Mon Aug 12, 2024 2:40 pm
by DerekR
rinse-dental wrote: ↑Mon Aug 12, 2024 12:31 pm
USE CASE: Reschedule an existing scheduled appointment.
ISSUE: Appointment AptDateTime and Op is updated; however, the new ProvNum is ignored.
EXAMPLE:
PUT /api/v1/appointments/[AptNum]
{
"AptDateTime": [New AptDateTime],
"ProvNum": [New ProvNum],
"Op": [New OpNum]
}
https://www.opendental.com/site/apiappointments.html
We are not able to duplicate the described behavior when using
Appointments PUT (update). Is this happening for all the appointments and/or providers you've tried?
If this issue continues please provide us with more information about the appointment and provider you are attempting to update as well as the current version of Open Dental that the office is using. Thanks!
Re: Defect: API Appointments PUT - ProvNum is ignored, does not update
Posted: Mon Aug 12, 2024 10:00 pm
by rinse-dental
I swear... I'll sit and stare at an issue for a week before posting to the forum only to embarrass myself with a dumb oversite.
It appears the "issue" is with the 'isHygiene' flag and my setting the ProvNum when I mean to change ProvHyg. I'll confirm in the AM but perhaps you can turn this post into a request to add a facepalm emoji to forum posts.