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?
Another planned appointment question
Another planned appointment question
- Attachments
-
- Screen Shot 2022-11-16 at 12.01.50 PM.png (656.95 KiB) Viewed 1228 times
Re: Another planned appointment question
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.
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
Awesome. Thanks for the explanation; I could solve the issue.