Discussions
In our api we have a requirement like if there is no object set than need to pass empty array in payload.
over 1 year ago by Shruti
Like i need to pass payload like this way for questions and nestedquestions need to pass empty array.
{
"attri": [
{
"key": "First Name",
"value": "Kk"
},
{
"key": "Last Name",
"value": "Ppp"
},
{
"key": "Email",
"value": "[email protected]"
}
],
"questions": [],
"nestedQuestions": [],
"seatNumber": null,
"eventTicketingId": null,
"eventKey": null
}