List the Custom Page Variables


List the Custom Page Variables

In order to list the Custom Page Variables configuration, you can query the following API endpoint:{siteid:999999}&filter={dimensiontechnicallabel:cr_f}

The API will return the following array:

The TechnicalLabel field provides you with the value you should use in the columns parameter of the getData method.

Please note that the API may also return extra attributes (such as “Detail”, “Metadata”, “Format”, etc.), that can be ignored.


Filter on specific dates

As it’s possible to delete and create custom variable, the API allows you to filter on the dates, should you need to show only the active custom variables on a given period:{siteid:999999}&filter={dimensiontechnicallabel:cr_f}&start=2018-01-01T00:00&end=2018-01-05T23:59

The dates should match the the ISO 8601 format.


Was this post helpful?
Last update: 22/02/2018