Request for a PUT to update data via the DiscountPlanSubs API

For requests or help with our API
Post Reply
joebrown_subscribili
Posts: 6
Joined: Fri Sep 23, 2022 7:38 am

Request for a PUT to update data via the DiscountPlanSubs API

Post by joebrown_subscribili » Fri Sep 23, 2022 7:47 am

We love having the ability to link a patient to a discount plan via the API, but it would be great to be able to update it. Specifically, we want to be able to update the end date and the notes. Would it be possible to add a PUT for DiscountPlanSubs?

justine
Posts: 168
Joined: Tue Dec 28, 2021 7:59 am

Re: Request for a PUT to update data via the DiscountPlanSubs API

Post by justine » Fri Sep 23, 2022 8:52 am

joebrown_subscribili wrote:
Fri Sep 23, 2022 7:47 am
We love having the ability to link a patient to a discount plan via the API, but it would be great to be able to update it. Specifically, we want to be able to update the end date and the notes. Would it be possible to add a PUT for DiscountPlanSubs?
Hello joebrown_subscribili,

Yes, we can add a DiscountPlanSubs PUT. I will add this to our development list.

joebrown_subscribili
Posts: 6
Joined: Fri Sep 23, 2022 7:38 am

Re: Request for a PUT to update data via the DiscountPlanSubs API

Post by joebrown_subscribili » Fri Sep 23, 2022 9:07 am

That's amazing! Thank you. Do you have any idea when it might be available? Also, would it only be available in the newest Open Dental version or would it be pushed to some older versions as well. Thank you again.

justine
Posts: 168
Joined: Tue Dec 28, 2021 7:59 am

Re: Request for a PUT to update data via the DiscountPlanSubs API

Post by justine » Fri Sep 23, 2022 9:26 am

joebrown_subscribili wrote:
Fri Sep 23, 2022 9:07 am
That's amazing! Thank you. Do you have any idea when it might be available? Also, would it only be available in the newest Open Dental version or would it be pushed to some older versions as well. Thank you again.
API resource development is done in requested order. There are a few ahead of you at the moment. When complete, we will update this post with the version that DiscountPlanSubs PUT will be available for use.

JTS
Posts: 38
Joined: Thu Aug 18, 2022 12:56 pm

Re: Request for a PUT to update data via the DiscountPlanSubs API

Post by JTS » Mon Oct 10, 2022 9:08 am

DiscountPlanSubs PUT is complete, and allows changing the following fields: DateEffective, DateTerm, and SubNote.

This method is available in our beta version, 22.3.13. For more information, please see:
https://www.opendental.com/site/apidisc ... nsubs.html

joebrown_subscribili
Posts: 6
Joined: Fri Sep 23, 2022 7:38 am

Re: Request for a PUT to update data via the DiscountPlanSubs API

Post by joebrown_subscribili » Mon Oct 10, 2022 10:38 am

Amazing! Thank you.

joebrown_subscribili
Posts: 6
Joined: Fri Sep 23, 2022 7:38 am

Re: Request for a PUT to update data via the DiscountPlanSubs API

Post by joebrown_subscribili » Mon Apr 03, 2023 4:08 pm

Am I correct in my understanding that even after a discount plan has an end date, you are not able to assign another discount plan with an effective date after the prior plan's end date? The existing plan has to be "dropped" before a new one can be added, even if the existing one has an end date in the past?

If that is true, would it be possible to add an API endpoint for dropping an existing discount plan?

SLeon
Posts: 476
Joined: Mon Mar 01, 2021 10:00 am

Re: Request for a PUT to update data via the DiscountPlanSubs API

Post by SLeon » Tue Apr 04, 2023 6:38 am

Good morning,

Yes, that is correct. A patient can only be subscribed to one discount plan at a time. If you only want to change the effective dates for the existing plan, you can use the existing DiscountPlanSubs PUT method.

However, that does not address the case when you would like to subscribe the patient to a different discount plan. I have added the ability to drop a discount plan subscription to our development list.

joebrown_subscribili
Posts: 6
Joined: Fri Sep 23, 2022 7:38 am

Re: Request for a PUT to update data via the DiscountPlanSubs API

Post by joebrown_subscribili » Thu Apr 13, 2023 3:14 pm

Not to be a pain, but do you possibly have an estimate for when this functionality might be available? Thank you.

SLeon
Posts: 476
Joined: Mon Mar 01, 2021 10:00 am

Re: Request for a PUT to update data via the DiscountPlanSubs API

Post by SLeon » Thu Apr 13, 2023 3:32 pm

Development on API feature requests occurs in the order in which they are made. I would estimate that this will be completed in roughly three weeks.

justine
Posts: 168
Joined: Tue Dec 28, 2021 7:59 am

Re: Request for a PUT to update data via the DiscountPlanSubs API

Post by justine » Wed May 17, 2023 9:38 am

joebrown_subscribili wrote:
Thu Apr 13, 2023 3:14 pm
Not to be a pain, but do you possibly have an estimate for when this functionality might be available? Thank you.
DiscountPlanSubs DELETE is available in version 23.1.12 and later.

Thanks!

Post Reply