0

I have one response and I have one request:

  1. Response
{
  "questions": [
    {
      "id": 75930,
      "drmsCaseId": 236,
      "questionId": 32,
      "answer": "",
      "questionGroup": {
        "key": "KYC",
        "value": "Know Your Client Check",
        "sortingOrder": 4,
        "integrValue": ""
      }
    }
  ]
}
  1. 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!

lpizzinidev
  • 12,741
  • 2
  • 10
  • 29

0 Answers0