Data Lens Developer's Guide

Query Result

The query result response body is a JSON object returned by the Data Lens REST API in response to a request for the result of the query on the dataset.

Table 1. Query Result Response Elements
Element Data Type Description
columns Array A list of strings representing the metrics or facets defined in the query
dataset String Unique ID of the dataset associated with the query
kind String Type of response: the value is datalens#query_result when the request is successful
row Array A list of rows populated with results from the query
query String Unique ID of the query

The code example below illustrates a typical response to a successful request.

{
    "kind": "datalens#query_result",
    "query": "<query_id>",
    "dataset": "<dataset_id>",
    "columns": [
      "lang",
      "num"
    ],
    "row": [
      ["de", 546],
      ["en", 12312],
      ["ru", 100500]
    ]
}

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.