Logo
MicroStrategy REST API API Documentation

Create cube

POST {{baseUrl}}/api/v2/cubes

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
X-MSTR-ProjectID
string
X-MSTR-AuthToken
string
accept
string
Content-Type
string




RESPONSES

status





Curl
curl -X POST 'baseUrl/api/v2/cubes' -H 'X-MSTR-ProjectID: projectId' -H 'X-MSTR-AuthToken: authToken' -H 'accept: */*' -H 'Content-Type: application/json' -d '{"name":"Test Cube 1","description":"Created through Rest API","folderId":"publicReportsFolderId","overwrite":true,"definition":{"availableObjects":{"attributes":[{"id":"8D679D4B11D3E4981000E787EC6DE8A4","name":"Region","type":"attribute"},{"id":"8D679D3511D3E4981000E787EC6DE8A4","name":"Call Center","type":"attribute"}],"metrics":[{"id":"4C05177011D3E877C000B3B2D86C964F","name":"Revenue"}]}}}'

ENDPOINTS