Page 1 of 1

Another planned appointment question

Posted: Wed Nov 16, 2022 8:05 am
by rinse-rey
Hi there,

I created a planned appt. Through the API, a new appointment was created for that planned appointment.

Later, the user canceled the appointment. When trying to book the appointment again from the planned appointment, I'm receiving the following issues:

Planned Appointment must contain at least one unscheduled procedure.

How do we solve this issue?

Re: Another planned appointment question

Posted: Wed Nov 16, 2022 3:14 pm
by DerekR
Hello rinse-rey,

When rescheduling any broken/unscheduled appointment in Open Dental, the appointment object is simply updated and put back on the Appointment Module. To perform this behavior with the API, we recommend using our Appointments PUT (update) on the broken scheduled appointment. You would need to change the "AptStatus" to "Scheduled", "AptDateTime" to the new time, and if the broken appointment is in the Unscheduled List, you will also need to update the "Op".

We've updated our documentation to describe this workflow https://www.opendental.com/site/apiappointments.html.

Re: Another planned appointment question

Posted: Thu Nov 17, 2022 12:45 pm
by rinse-rey
Awesome. Thanks for the explanation; I could solve the issue.