Variables for bpmn api-rest calls via Advanced REST client tool

Hello

I have a question about getting the variables of a form using the Camunda API following the manual documentation [Get Start Form Variables | docs.camunda.org]; Process of an element Activity I send the following data by the POST method in format Json:
{
“variables”: {
“customerId”: {“value”:“Niall”,“type”:“String”},
“amount”:{“value”:100,“type”:“Double”}
}
}

In response, the following :

{
“links”: [
{
“method”: “GET”,
“href”: “http://10.1.103.46:8080/engine-rest/process-instance/1acaeba4-49f9-11e7-8014-0800275ee0b9”,
“rel”: “self”
}
],
“id”: “1acaeba4-49f9-11e7-8014-0800275ee0b9”,
“definitionId”: “64af0e19-3fd4-11e7-97c4-0800275ee0b9”,
“businessKey”: null,
“caseInstanceId”: null,
“ended”: false,
“suspended”: false,
“tenantId”: null
}

Later REST API is used :

Resulting Json format response: { }

Someone can help me on the subject that returns the same data Json input, thank you for your contributions

Alguien me puede ayudar con respecto al tema que devuelva el mismo dato Json de entrada, le agradezco sus aportes.

Thank you

Juan Pablo

Hi Juan Pablo,

It’s not exactly clear to me what you are trying to achieve. The request documented at https://docs.camunda.org/manual/7.7/reference/rest/process-definition/get-form-variables/ returns the start form variables of a process. Those must be defined in the BPMN XML, in particular in the Forms section of the start event’s properties. If this is not what you are after, could you please explain the goal you are trying to achieve?

Cheers,
Thorben