What is the REST API to be called to approve/reject a Travel Request?

Hi experts,

I’m testing with Bonita Community 7.2.3 and the Travel Requests sample.

I’d like to know what is the REST API to be called to approve/reject a Travel Request and specify a reject reason

Regards,
Jose.

Hi all,

Using Membrane Monitor (http://www.membrane-soa.org/soap-monitor/) I’ve captured the REST operation done when approving the Travel Request via the form. I was confused by the doc, trying to use /bonita/API/bpm/activity/{id}/ when it’s actually:

POST:/bonita/API/bpm/userTask/{userTaskId}/execution
Payload:
{“status”:“refused”,“refusalReason”:“No budget available”}

Hope it helps to someone!