Management API to change rate plan expiry

Not applicable

Is there a management API to set / change the end date of a published plan..??

For some reason all end date are set to 2017, i need to end date them on todays date.

please advise.

0 5 225
5 REPLIES 5

Not applicable

@Pravin: According to documentation, if the rate plan is published, the only way you may change the end date is if there is no end date specified originally. Once it is defined and published, the end date cannot be changed (http://docs.apigee.com/monetization/content/publish-rate-plans).

The suggestion is to always save as draft mode to ensure proper date settings, then publish. Additionally, you can define additional rate plans for the same proxy.

@Pravin. I also see that you can create a future rate plan associated with the plan in question (http://docs.apigee.com/monetization/content/create-future-rate-plans)

When i try to create a future plan with todays date as end date. I get an error :

Error creating Rate-plan
Start and End dates for this [RatePlan] are overlapping with others with ids [('fis@@@termdeposits_basic_-1539387744')].

@deanxcobb Thanks for response, but is there a way to revert the situation, I know it cant be done on edge ui. Is there any other way to correct it?

@Pravin; we had this same situation as you. Unfortunately you cannot revert. You will have to let it expire. As to your error, the start date of the new plan should be the end date of your existing, and the end date of the new plan is in the future.