Access API Documentation | Access Technical Support Portal | Email: support@validic.com
Validic Support Center
Click Here for Latest System Status

Retrieving all Records Including null/zero Value Data

Last Updated: Feb 28, 2018 12:13PM EST
Q: How do I retrieve null and zero values?

Validic stores all information retrieved from integrated data sources regardless if the data retrieved has meaningful value or simply null and zero values. However, Validic's standard API responses do not anymore include records with only null and zero values.

Should you need to retrieve these records in order to have a complete set as is available from the source, pass an "allow_null=1" parameter to the API call, for example:
GET ´╗┐https://api.validic.com/v1/organizations/{ORGANIZATION_ID}/biometrics.json?access_token={ACCESS_TOKEN}&allow_null=1
This would return records with null and zero values, for example:
"biometrics": [{ 
    "_id": "523017366dedda25b2000002",
    "blood_calcium": null,
    "blood_chromium": null,
    "blood_folic_acid": null,
    "blood_magnesium": null,
    "blood_potassium": null,
    "blood_sodium": null,
    "blood_vitamin_b12": null,
    "blood_zinc": null,
    "creatine_kinase": null,
    "crp": null,
    "diastolic": null,
    "ferritin": null,
    "hdl": null,
    "hscrp": null,
    "il6": null,
    "ldl": null,
    "resting_heartrate": null,
    "source": "withings",
    "source_name": "Withings",
    "systolic": null,
    "testosterone": null,
    "timestamp": "2013-09-10T16:48:08+00:00",
    "total_cholesterol": null,
    "tsh": null,
    "uric_acid": null,
    "user_id": "5229f2046dedda56b5000001"
    "utc_offset": "+00:00",
    "vitamin_d": null,
    "white_cell_count": null,
}
 
vlogo
bc869bd0260c3360eac041337ba489f0@validic.desk-mail.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete