deletePlan API

Mudi Ugbowanko's Avatar

Mudi Ugbowanko

Jul 27, 2013 @ 03:42 PM

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.

  1. 1 Posted by Mudi Ugbowanko on Jul 27, 2013 @ 04:17 PM

    Mudi Ugbowanko's Avatar

    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.

  2. Support Staff 2 Posted by Marc Guyer on Jul 29, 2013 @ 12:31 PM

    Marc Guyer's Avatar

    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. 3 Posted by Mudi Ugbowanko on Jul 29, 2013 @ 12:38 PM

    Mudi Ugbowanko's Avatar

    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.

  4. Support Staff 4 Posted by Marc Guyer on Jul 29, 2013 @ 08:01 PM

    Marc Guyer's Avatar

    Hi Mudi -- This is already a ticket in our system. Once it's available, we'll let you know.

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