Below json we are getting in response, and to this api we need to add new element for all input parameter array and send new request to server.
How to push "inputList":[ ]
element below all array elements of inputParameters
?
Response:
{
"canBeSubscribed":false,
"inputParameters":[
{
"allowBlank":false,
"canBeShownOnUi":false,
"uiControl":"1"
},
{
"allowBlank":false,
"uiControl":"1"
}
],
"reportTitle":"Report"
}
New Request:
{
"canBeSubscribed":false,
"inputParameters":[
{
"allowBlank":false,
"canBeShownOnUi":false,
"uiControl":"1",
"inputList":[
]
},
{
"allowBlank":false,
"uiControl":"1",
"inputList":[
]
}
],
"reportTitle":"Report_New"
}