deletePlan API
Hi All,
When you try to delete a plan which has customers subscribed to it, you correctly get an error. However it is not an xml respopnse. It is a HTML page from the admin.
I think it should XML so one could programmatically handle it?
Thanks
M.
Discussions are closed to public comments.
If you need help with Cheddar please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Mudi Ugbowanko on Jul 27, 2013 @ 04:17 PM
Hi,
I managed to successfully delete a plan ... however the same thing still happens. Instead of an XML response I get a HTML web page.
For now I am catching the exception and then making another request for the plan, expecting another exception to confirm that the plan could not be found.
Please let me know if I this problem can be fixed.
Thanks
M.
Support Staff 2 Posted by Marc Guyer on Jul 29, 2013 @ 12:31 PM
Hi Mudi -- The answer is similar to your other post:
http://support.cheddargetter.com/discussions/questions/6892-newplan...
FYI, The response should contain a meaningful http status code when an error occurs. On success, I believe a 302 is returned (redirect).
3 Posted by Mudi Ugbowanko on Jul 29, 2013 @ 12:38 PM
Well its not deal breaker so no probs.
I do think it would be good to tie it up as the API do un-officially work :)
M.
Support Staff 4 Posted by Marc Guyer on Jul 29, 2013 @ 08:01 PM
Hi Mudi -- This is already a ticket in our system. Once it's available, we'll let you know.