Hi,
I would like to create the following request in Data Action.
{
"offset":"0",
"count":"1",
"data":[
{
"mainContractNumber":"${input.mainContractNumber}",
"customerNumber":"${input.customerNumber}",
"targetContract":[{
** "vaultContractNumber":"${input.vaultContractNumber}",**
** "contractPromiseAmount":"${input.contractPromiseAmount}",**
** "contractClaimAmount":"${input.contractClaimAmount}",**
** "contractOverdueCharges":"${input.contractOverdueCharges}",**
** "contractAnnualFee":"${input.contractAnnualFee}"**
** }]**
}
]
}
The request is intended to convey the following
{
"offset":"0",
"count":"1",
"data":[
{
"mainContractNumber":"1234567890",
"customerNumber":"X234567890",
"targetContract":[{
** "vaultContractNumber":"9876543210",**
** "contractPromiseAmount":"9876543210",**
** "contractClaimAmount":"1000000",**
** "contractOverdueCharges":"5000",**
** "contractAnnualFee":"0"**
** },**
** {**
** "vaultContractNumber":"7654321098",**
** "contractPromiseAmount":"X654321098",**
** "contractClaimAmount":"5000000",**
** "contractOverdueCharges":"5000",**
** "contractAnnualFee":"0"**
** }]**
}
]
}
To achieve this, I set it in Input Contract, but an error occurs when saving.(I attach a capture of the error)
Can someone please tell me how to set this up in a valid way?
I think "STRING" in "targetContract" is supposed to be "ARRAY", but I can't set it.
Kind Regards,