getDemographicAttributes

This method returns the list of valid names and values for the demographic attribute objects.

This method was added in Cortex 2.1

Parameters

Name

Type

Required

Description

cortexToken

string

yes

A token returned by authorize.

Result

The result is an array of objects. Each object contain these fields:

Name

Type

Description

name

string

The name of the demographic attribute.

value

array of strings

The list of all the possible values for this attribute.

Example

{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "getDemographicAttributes",
    "params": {
        "cortexToken": "xxx"
    }
}

Last updated