I have a rest call task with a PUT endpoint. The request body needs to be:
{
"data": {
"id": <process_var_1>,
"relationships": {
"status": {
"data": {
"id": <process_var_2>
}}}}}
Where <process_var_1> and <process_var_2> are populated at runtime. My request mappings are:
data.id -> process_var_1
data.relationships.status.data.id -> process_var_2
Instead of the request body shown above, the request body sent to the REST call is:
{
"data.id": "1001",
"data.relationships.status.data.id": "5"
}
So you can see that the syntax for JSON properties isn't working as hoped.
Is there a syntax that will work? If not, this seems like a bug, correct? Can anyone suggest another approach?
Thanks