I have a Json payload i.e.
{
"Numbers": [
0
],
"title": "string",
"Ids": [
0, 1, 2
],
"group": 0
}
and I am hitting a http call to get collection of records for all customers present in DB i.e.
{
"details": [{
"detailId": 0,
"Id": 0,
"name": "string",
"place": "string",
"country": "string",
"bloodgroup": "string",
"area": "string"
},
{
"detailId": 0,
"Id": 1,
"name": "string",
"place": "string",
"country": "string",
"bloodgroup": "string",
"area": "string"
}
]
}
Now I want to filter and extract the data for those Ids for which I am getting in Request payload in Ids field and match them in collection response payload.
ID field is common in Request payload and in Response payload
Please help me on this.