How to fetch only code from object.objectId(BusinessPartner) from API (Json)?

Hi,all
I want to fetch only one data inside object.objectId(BusinessPartner) like code instead of all data of object.objectId(BusinessPartner) ,likewise i am able to fetch two data value from Address, as I am testing an api and applied fields to filter city and country from address similar way i want to fetch only code from object.objectId(BusinessPartner) instead of other details , please help me out .
For example :
https://{cluster}.coresuite.com/api/data/v4/Address?expand=object.objectId(BusinessPartner)&fields=city,country&dtos=Address.17;BusinessPartner.17

{
“data”: [
{
“address”: {
“country”: “AU”,
“city”: “Carlton”
}
},
{
“address”: {
“country”: “AU”,
“city”: “Southbank”
},
“object.objectId(BusinessPartner)”: {
“country”: null,
“code”: “C0003”,
“city”: null,
“shippingType”: null,
“language”: “EN”,
“owners”: null,

Your data element is an array, and object.objectId(BusinessPartner) is held in the second element in that array. The element name also has special characters.

You can target this using the following method.

const response = pm.response.json(); 
console.log(response.data[1]["object.objectId(BusinessPartner)"].code)