List Datapoints API

This API is used to obtain a list of the names of all datapoints without details.

Command

"client/listDatapoints/1"



Inputs

The following values are expected in the JSON body:

Name Type Required Description
command String

Must be "client/listDatapoints/1"

country String

2-letter ISO country code, e.g. US, GB, CA, etc... Restricts datapoints that are supported for this country.


Outputs

The JSON output will always contain the original command and a result. If the result > 0, an error has occurred (refer to Error Codes) and a message field will describe the error. If result = 0, the following is included in the response field:

Name Type Description
datapoints String[]

List of datapoint names



Example Response

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