Defect: API Appointments PUT - ProvNum is ignored, does not update

For requests or help with our API
Post Reply
rinse-dental
Posts: 118
Joined: Wed Apr 06, 2022 12:04 pm

Defect: API Appointments PUT - ProvNum is ignored, does not update

Post by rinse-dental » 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

DerekR
Posts: 103
Joined: Wed Aug 31, 2022 1:13 pm

Re: Defect: API Appointments PUT - ProvNum is ignored, does not update

Post by DerekR » Mon Aug 12, 2024 2:40 pm

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!

rinse-dental
Posts: 118
Joined: Wed Apr 06, 2022 12:04 pm

Re: Defect: API Appointments PUT - ProvNum is ignored, does not update

Post by rinse-dental » Mon Aug 12, 2024 10:00 pm

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.

Post Reply