Find Providers with Missing Contact Information

To get providers with missing contact information:

GET all data for all providers for a specific project. For example:

GET /enterprise/accuracy/v1/Inspections?projectId=123456 

Search the response to find all providers with a null value in the sourceValue or in the verifiedValues fields for any of the address components.

For example, the following contact information is missing sourceValue for address1, missing verifiedValues for address2, and missing both a sourceValue and verifiedValues for zip code:

"address1": { 
"sourceValue": null,
"standardizedValue": "114 Mission Ranch Blvd",
"verifiedValues": [
{
"value": "114 Mission Ranch Blvd",
"outcome": "Valid",
"source": "BdxTruth",
"date": "2022-01-27T19:49:52.131Z"
}
]
},
"address2": {
"sourceValue": "SUITE 50",
"standardizedValue": "Ste 50",
"verifiedValues": []
},
"city": {
"sourceValue": "CHICO",
"standardizedValue": "Chico",
"verifiedValues": [
{
"value": "Chico",
"outcome": "Valid",
"source": "BdxTruth",
"date": "2022-01-27T19:49:52.131Z"
}
]
},
"state": {
"sourceValue": "CA",
"standardizedValue": "CA",
"verifiedValues": [
{
"value": "CA",
"outcome": "Valid",
"source": "BdxTruth",
"date": "2022-01-27T19:49:52.131Z"
}
]
},
"zip": {
"sourceValue": null,
"standardizedValue": null,
"verifiedValues": []
}