API response - Accessing elements through dynamic array variable to check verifyElementPropertyValue

verifyElementPropertyValue is returning null value for the object and missing property exception:
json response:
{“status”:“success”,

“data”:[{“code”:“ABCDEFG”,“status”:“Processed”},{“code”:“EXAMPLE”,“status”:“InTransit”},{“code”:“TRYITAG”,“status”:“PreparingOrder”}]

}

eg:
dbData=1
for(int jData=0; jData<countResponse && dbData<=dataSize; jData++)
{
if(WS.verifyElementPropertyValue(response, jsonVar.get(‘data’)[jData].getAt(‘code’),
testData.getValue(“Code”, dbData).toString()))
}

I need to check if all above codes are returned with right status.