How to resume an intermediateCatchEvent in a process using by REST call?

Hi,

I am looking for resuming an intermediateCatchEvent (using Messages) using by a REST call.
I have processDefinitionKey, processInstanceId and messageName for querying the API.
Please see the below image for process example:

I think you’re looking for the POST /message call.

Thanks Niall, calling the service using by POST call only and to resume an intermediateCatchEvent have to use the fluent builder, refer the below link.

https://blog.camunda.org/post/2014/03/fluent-api-for-message-correlation/

The Rest API is built on top of the Java API. So if you can make the same call with the REST as with the JAVA call.

So if you want to to create a the REST equiviant of

execution.getProcessEngineServices().getRuntimeService() .createMessageCorrelation("aMessage") .processInstanceBusinessKey("aBusinessKey") .processInstanceVariableEquals("aVariable", "aValue") .setVariables(vars) .correlate();

It would be POST /message

Body:
{"messageName" : "aMessage", "businessKey" : "aBusinessKey", "correlationKeys" : { "aVariable" : {"value" : "aValue", "type": "String"} }, "processVariables" : { "aVariable" : {"value" : "aNewValue", "type": "String"}, "anotherVariable" : {"value" : true, "type": "Boolean"} } }