Report data
GET https://{{base_url}}/v6/reports/{{reportId}}/{{dataComponentId}}.json
Report data
This endpoint returns actual metrics used in the generation of the reports shown. Unlike the metadata options, this endpoint accepts parameters for a time range shown in the data, which defaults to 7 days.
Parameters
- format=json|xml optional, specifies the format of output requested. See Output Formats for more information
- window=[0-9]+[smhdw]? specifies a window of time for the result set. See Time Ranges for more information.
- from=YYYY-mm-ddTHH:MM:SS&to=YYYY-mm-ddTHH:MM:SS specifies an explicit start (and optionally, end) for your range of data. See Time Ranges for more information.
- aid={aid} optional, changes the account group context of the current request. If an invalid account group ID is specified as a parameter, the response will come back as an HTTP/400 error.
- {reportId} the ID of the report youβre interested in.
- {dataComponentId} the ID of the data component for which to retrieve data.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |