Overview
Returns report data restricted by query parameters passed in POST arguments.
Request Fields
Query Request Fields | |
---|---|
Field | Description |
limit | (optional) The maximum number of returned rows. Possible values: any integer in the range from -1 to 10,000. |
offset | (optional) Skips the specified number of rows from the result. Together with |
include_cumulative | (optional) Defines whether to display the total values for the topN data rows, where N = limit + offset. Possible values: 0 - don’t display Total values for top N data rows, 1 - display Total values for top N data rows. The default value is 0. |
filters | (optional) An array of filters, each filter is built using the following format:
|
split_by | An array of key values from those set in tthe |
start_date | Sets the start of the date range from which to gather data. Supported formats:
|
end_date | Sets the end of the date range from which to gather data. Supported formats:
|
timezone | (optional): Time zone UTC offset in hours, where N can be any integer in the range of |
include_mappings | (optional): defines whether key field value mappings are returned by the API request. The default value is 1 (mappings are returned), if only 1 key field is used in the |
include_total | (optional): defines whether to display Total values in the exported file. Possible values: (0 - don’t display Total values in the exported file, 1 - display Total values in the exported file). The default value is 0. |
data_fields | (optional) An array of data fields to be returned, e.g. To receive the details of all data fields available to you, use the Info Endpoint. |
data_filters | (optional) An array of objects, with each object defining a filters to apply to the data returned for the
|
Response Fields
Query Response Fields | |
---|---|
Field | Description |
status | Returns the status of the request,
|
reason | A user-friendly description of the error which occured. This field is displayed for failed requests only. |
total | this section contains information about the entire dataset returned by the query.
|
rows | this section contains query data results. It is an array of data rows, each containing the following fields.
|
confidence_range | The confidence range for data (percent), presented in this section, if returned dataset is compressed. Available for every data row in the resulting dataset. |