Dear Team,
I need to encrypt the whole json payload and the json structure has multiple arrays, I need to encrypt the body using AES algorithm.
When the request reaches app connect the json array has changed to
Item json object . From ESQL I am converting the Input message to character and calling procedure of JAVA class for AES encryption.
In Java class the input request will be in the ITEM tag instead of an array[].So while encryption we cant able to encrypt the exact request message..Is there any way that the array request coming in app connect as [] instead of ITEM and pass the same to java class.
Please help on this scenario. Waiting for your response.
Original request:
{
"data": [
{
"cgpan": "CG20150337420TC",
"npadate": "2020-12-29 00:00:00.000",
"npacgtsireportingflag": "N"
},
{
"cgpan": "CG20150337420TC",
"npadate": "2020-12-29 00:00:00.000",
"npacgtsireportingflag": "N"
}
]
}
App connect request:
{
"data": {
"Item":
{
"cgpan": "CG20150337420TC",
"npadate": "2020-12-29 00:00:00.000"}},
{
"Item":
{
"cgpan": "CG20150337421TC",
"npadate": "2020-12-29 00:00:00.000"}}}
Thanks and regards,
Hari Prasanth S
------------------------------
Hari Prasanth
------------------------------