listDatapoints API

This API is used to obtain a list of all datapoints. The response may contain thousands of entries, so we advise that you use our RFGdatapoints.json file and map our standard profile datapoints first, then select whichever datapoints you would also like to target with from the response of this API.

Command

"livealert/listDatapoints/1"

Recommended Frequency

Once every 12 hours to check for new datapoints



Inputs

The following values are expected in the JSON body:

Name Type Required Description
command String

Must be "livealert/listDatapoints/1"

country String

Optional 2 digit ISO Country Code, e.g. US, GB, CA, etc... Restricts datapoints that are supported for this country.

modifiedSince String

If included, you will only receive datapoints that have been modified since the specified date. The date should have the format yyyy-MM-dd.


Outputs

Name Type Description
names String[]

List of datapoint names.


Example Command

{
    "command" : "livealert/listDatapoints/1",
    "country" : "US",
    "modifiedSince" : "2017-05-01"
}

Example Response

"response" : {
    "names" : [
        "Education (US)",
        "RFG2_Vote",
        ..., 
        "Age",
        "Attending School"
    ]
}