API Testing 'A Beginners View': JavaScript - Array.prototype.find() and Array.prototype.findIndex()

hi There,

Very useful one, similar issue – Would pls fix this issue –
need to verify the property name - “sipaddress” : “+a682@com.com
issue – there are ‘N’ number of property name by sipaddress with different values
here is the response body –

{

"message": "All SIP addresses fetched successfully.",

"data": [

    {

        "tenant": "Pit",

        "location": "LOC761",

        "provider": "TTEC22",

        "sipaddress": "23632224022021",

        "inUse": false,

        "updatedAt": 1614200241078

    },

    {

        "tenant": "Pit",

        "location": "LOC771",

        "sipaddress": "+5734353@qa22.org",

        "updatedAt": 1614200222359,

        "createdAt": 1614118371824,

        "provider": "TTEC22",

        "objectGUID": "3b96d6e5-681d-44cb-9144-6fc5b0702300",

        "inUse": false

    },

    {

        "tenant": "Pit",

        "location": "MA",

        "sipaddress": "+7434452@qa13.org",

        "updatedAt": 1614118369411,

        "createdAt": 1614118369411,

        "provider": "TTEC13",

        "objectGUID": "62046239-c6aa-453a-8953-d500ce270e3c",

        "inUse": false

    },

    {

        "tenant": "Pit",

        "location": "MA",

        "sipaddress": "+6221418@qa32.org",

        "updatedAt": 1614118374484,

        "createdAt": 1614118374484,

        "provider": "TTEC32",

        "objectGUID": "88ac5f0a-926d-47a5-a7c6-d4d0d2612e96",

        "inUse": false

    },

    {

        "tenant": "Axecap",

        "location": "IN",

        "sipaddress": "+9053@six.com",

        "updatedAt": 1614697684203,

        "createdAt": 1614697684203,

        "provider": "AWS",

        "objectGUID": "253cb226-6fa1-47bc-8010-143f1d11e6ec",

        "inUse": true

    },

    {

        "tenant": "Pit",

        "location": "LOC814",

        "sipaddress": "63634524022021",

        "updatedAt": 1614200473775,

        "createdAt": 1614200473775,

        "provider": "TTEC22",

        "objectGUID": "5e357fdf-449f-4515-b943-45979818cbf1",

        "inUse": false

    },

    {

        "tenant": "Axecap",

        "location": "US",

        "sipaddress": "+1111@abc.com",

        "updatedAt": 1614693991996,

        "createdAt": 1614286862404,

        "provider": "AWS",

        "objectGUID": "cf9968cc-31f0-470e-9c35-48218f7cac8e",

        "inUse": false

    },

    {

        "tenant": "Pit",

        "location": "MA",

        "sipaddress": "+4974113@qa26.org",

        "updatedAt": 1614118372951,

        "createdAt": 1614118372951,

        "provider": "TTEC26",

        "objectGUID": "60641345-285a-4fe5-9acd-5b9a6031fb00",

        "inUse": false

    },

    {

        "tenant": "Axecap",

        "location": "IN",

        "sipaddress": "+y559@org.com",

        "updatedAt": 1614711139290,

        "createdAt": 1614711139290,

        "provider": "AWS",

        "objectGUID": "fe08d4a0-9777-46b4-b964-ca50f18ba085",

        "inUse": true

    },

    {

        "tenant": "Axecap",

        "location": "IN",

        "sipaddress": "+h98@net",

        "updatedAt": 1614710904665,

        "createdAt": 1614710904665,

        "provider": "AWS",

        "objectGUID": "b4633ea6-4ab5-467a-8c90-60385f1910eb",

        "inUse": true

    },

    {

        "tenant": "Pit",

        "location": "LOC667",

        "sipaddress": "15662324022021",

        "updatedAt": 1614200496183,

        "createdAt": 1614200496183,

        "provider": "TTEC22",

        "objectGUID": "07ad2444-6b5d-4934-ae95-2829732838b4",

        "inUse": false

    },

],

"total": 243

goes upto 200 + data…