1 Reply Latest reply on Jan 18, 2016 5:59 AM by thundercat

    Is there a way to destroy outcomes via REST API?

    thundercat

      Dear community,

       

      is there a way to destroy outcomes of content objects, comments or messages?

      I haven't found appropriate endpoints at:

       

      It is possible to do that via user interface, e.g. after marking a content object as decision it is possible to unmark it.

       

      Best Regards,

      Mark

        • Re: Is there a way to destroy outcomes via REST API?
          thundercat

          I tried to sent a HTTP DELETE message to /comments/{commentID}/outcomes with the following characteristics:

          • HTTP Basic Authorization Header with correctly set credentials
          • HTTP Content Type Header set to application/json
          • a small JSON document in the HTTP body, that describes the comment to delete (id and outcomeType).

           

          The affected comment is one, that I had written.

           

          The HTTP result was 405 Method Not Allowed.

          Does that mean there is no endpoint to delete an outcome?

           

          Best Regards,

          Mark