Request:
{
“variables”: {
“ApplySource”: {
“value”: “branch”,
“type”: “string”
},
“CredSum”: {
“value”: 2000,
“type”: “Double”
}
},
“businessKey”: “Test”,
“withVariablesInReturn”: “true”
}
Response:
{
“links”: [
{
“method”: “GET”,
“href”: “http://localhost:8080/engine-rest/process-instance/af588d8a-486b-11ed-854a-f8b46ad6b842”,
“rel”: “self”
}
],
“id”: “af588d8a-486b-11ed-854a-f8b46ad6b842”,
“definitionId”: “ac051cc9-486b-11ed-854a-f8b46ad6b842”,
“businessKey”: “Test_003”,
“caseInstanceId”: null,
“ended”: true,
“suspended”: false,
“tenantId”: null,
“variables”: {
"ApplySource": {
"type": "String",
"value": "filial",
"valueInfo": {}
},
"CredSum": {
"type": "Double",
"value": 2000.0,
"valueInfo": {}
},
"StopFactor": {
"type": "Boolean",
"value": true,
"valueInfo": {},
}
"StopFactorReason": {
"type": "String",
"value": "Son iş stajı < 3",
"valueInfo": {}
},
"FinalOfferAmount": {
"type": "Null",
"value": null,
"valueInfo": {}
}
}
}
I want it to be like below:
Response:
{
“links”: [
{
“method”: “GET”,
“href”: “http://localhost:8080/engine-rest/process-instance/af588d8a-486b-11ed-854a-f8b46ad6b842”,
“rel”: “self”
}
],
“id”: “af588d8a-486b-11ed-854a-f8b46ad6b842”,
“definitionId”: “ac051cc9-486b-11ed-854a-f8b46ad6b842”,
“businessKey”: “Test_003”,
“caseInstanceId”: null,
“ended”: true,
“suspended”: false,
“tenantId”: null,
“variables”: {
"StopFactor": {
"type": "Boolean",
"value": true,
"valueInfo": {},
}
"StopFactorReason": {
"type": "String",
"value": "Son iş stajı < 3",
"valueInfo": {}
},
"FinalOfferAmount": {
"type": "Null",
"value": null,
"valueInfo": {}
}
}
}