Reports
Get report data by id
Based on the report type generated while creating a report the data structure returned may have multiple formats.
Types
List
{
...
"columns": ...
"settings": {
...
"totals": false,
"transpose": false,
}
}
List (Totals)
{
...
"columns": ...
"settings": {
...
"totals": true,
"transpose": false,
}
}
PeriodList
{
...
"columns": ...
"periods": ...
"settings": {
...
"totals": false,
"transpose": true|false,
}
}
Summary
{
...
"columns": ...
"group_rows": ...
"settings": {
...
"totals": false,
"transpose": true|false,
}
}
Summary (Totals)
{
...
"columns": ...
"group_rows": ...
"settings": {
...
"totals": true
"transpose: true|false,
}
}
PeriodSummary
{
...
"columns": ...
"group_rows": ...
"periods": ...
"settings": {
...
"totals": false,
"transpose": true|false,
}
}
Pivot
{
...
"columns": ...
"group_rows": ...
"group_columns": ...
"settings": {
...
"totals": false,
"transpose": true|false
}
}
Pivot (Totals)
{
...
"columns": ...
"group_rows": ...
"group_columns": ...
"settings": {
...
"totals": true,
"transpose": true|false,
}
}
Data
| Type | Headers | Index | Records | Group Rows | Group Columns | Totals | Periods | Transpose |
|---|---|---|---|---|---|---|---|---|
| List | Yes | No | Yes | No | No | No | No | No |
| List (Totals) | Yes | No | Yes | No | No | Yes | No | No |
| PeriodList | Yes | Yes | Yes | No | No | No | Yes | Yes |
| Summary | Yes | Yes | Yes | Yes | No | No | No | Yes |
| Summary (Details) | Yes | Yes | Yes | Yes | No | Yes | No | No |
| Summary (Totals) | Yes | Yes | Yes | Yes | No | Yes | No | Yes |
| PeriodSummary | Yes | Yes | Yes | Yes | No | No | Yes | Yes |
| Pivot | Yes | Yes | Yes | Yes | Yes | No | No | Yes |
| Pivot (Totals) | Yes | Yes | Yes | Yes | Yes | Yes | No | Yes |
get/datainsights/v1.1/reports/{report_id}/data
Request
- The document declares no server URL.
- AuthHTTP bearer
Path parameters
report_idinteger required
Report id of the resource
Query parameters
format'raw' | 'formatted'
Example:formatted
Select the format of the numbers in the records. The "raw" values are sent unmodified from the database. The "formatted" records as are cast to a string. Currency type CDFs are defined in the property settings and other numbers are formatted with commas to separate every third digit and a decimal to separate the fractional portion.
Headers
X-PROPERTY-IDinteger required
Property id of the client
Response
OK
Example response
{
"type": "List"
}Changes
No recorded changes to this operation across all 1 revision of this API.