latestOpenAPI 3.0.32026-08-19299284712.8 KB

67d9f45bb99b

Cube Data

Get Cube Values

This endpoint retrieves values stored in the OLAP cube for a given company. Any record with a null ID is a calculated value (i.e. rollups) whereas records with IDs are values explicitly stored in the cube.

This endpoint is useful when creating reports out of data in the cube. Like a pivot table, you are able to specify which dimensions are in your rows / columns for the report, and the API will figure out the appropriate data to pull. In the example on the right, the "Account" dimension is provided as rows with "Scenario" and "Time" being provided as columns. Therefore, the "Department" dimension must be provided as a filter.

You are able to pass either the names of the dimensions or their IDs as parameters.

post/cube/pivot

Headers

X-Company-IDstring

The ID of the company that is making the request if the authenticated user has access to numerous companies

Request body

filtersobject required

Response

idstring required
valuestring required
dimensionsobject required