I have one response and I have one request:
- Response
{
"questions": [
{
"id": 75930,
"drmsCaseId": 236,
"questionId": 32,
"answer": "",
"questionGroup": {
"key": "KYC",
"value": "Know Your Client Check",
"sortingOrder": 4,
"integrValue": ""
}
}
]
}
- Request
{
"answers": [
{ "id": 60000, "answer": "fsd" },
{ "id": 60001, "answer": "fds" },
{ "id": 60002, "answer": "fds" },
{ "id": 60004, "answer": "No" }
]
}
What I want to do is replace all id values in request from the ones I get in response. Any help would b greatly appreciated!