I only want to return specific attributes in my responseBody (eg. Country and Effective dates only). How will I do that with below response I receive. I am new to this one. Thanks for the help:
{
“data”: [
{
“id”: “clientNumber=00000252&addressCategory=001&effectiveDate=2021-05-01”,
“type”: “addresses”,
“attributes”: {
“country”: “USA”,
“city”: “New York”,
“deliveryMethod”: “000”,
“contactName”: null,
“telephone2”: “2125096996”,
“telephone1”: “2125096995”,
“faxWork”: “2125096997”,
“expiryDate”: “9999-12-31”,
“effectiveDate”: “2021-05-01”,
“addressLanguage”: null
}
},
{
“id”: “clientNumber=00000252&addressCategory=006&effectiveDate=2021-04-08”,
“type”: “addresses”,
“attributes”: {
“country”: “FRA”,
“city”: “Mosta”,
“deliveryMethod”: “500”,
“contactName”: null,
“telephone2”: null,
“telephone1”: null,
“faxWork”: null,
“expiryDate”: “9999-12-31”,
“effectiveDate”: “2021-04-08”,
“addressLanguage”: null
}
},
{
“id”: “clientNumber=00000252&addressCategory=022&effectiveDate=2020-02-20”,
“type”: “addresses”,
“attributes”: {
“country”: “USA”,
“city”: “New York”,
“deliveryMethod”: null,
“contactName”: “BD”,
“telephone2”: “2125096996”,
“telephone1”: “2125096995”,
“faxWork”: “2125096997”,
“expiryDate”: “9999-12-31”,
“effectiveDate”: “2020-02-20”,
“addressLanguage”: “001”
}
}
]
}