Hi Manoj
Not clear to me what the purpose of this post is, are you trying to ask for advice? Perhaps you could elaborate, and also provide a realistic business example.
------------------------------
Jonathan Goldberg
Amdocs Management Limited
Any opinions and statements made by me on this forum are purely personal, and do not necessarily reflect the position of the TM Forum or my employer.
------------------------------
Original Message:
Sent: Jul 21, 2022 02:12
From: Manoj Ranga
Subject: Request format to be used
I have submit button on a web application where user has questions in the form of radio button, textbox, drop-down etc.
On click of submit button client has to send request which should have question, answer and sequence on which user has answered the questions. It should be an array containing same set of elements. For eg. -
{
"questionnaire": [
{
"question": "question 1",
"answer": "answer 1",
"sequence": "1"
},
{
"question": "question 3",
"answer": "answer 3",
"sequence": "2"
},
{
"question": "question 2",
"answer": "answer 2",
"sequence": "3"
}
]
}
------------------------------
Manoj Ranga
Infosys
------------------------------