You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/common-workflows/analytics/manage-datasets/manage-cube-objects/retrieve-a-cube-definition.md
+251Lines changed: 251 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -182,6 +182,257 @@ You can view the cube’s definition in the body of the response.
182
182
183
183
Response Code: 200 (The cube’s definition was returned successfully.)
184
184
185
+
## Retrieve a FFSQL cube's definition
186
+
187
+
This workflow sample demonstrates how to retrieve the definition of a FFSQL cube through the Modeling service.
188
+
189
+
You want to get the definition of the `Year, Category Analysis` cube object. The object ID of the cube is `A7D792D54B58C6CB68F192A4A73E317F` in the MicroStrategy Tutorial project. The project ID is `B7CA92F04B9FAE8D941C3E9B7E0CD754`.
190
+
191
+
:::info
192
+
193
+
Get the authorization token needed to execute the request with [POST /api/auth/login](https://demo.microstrategy.com/MicroStrategyLibrary/api-docs/index.html#/Authentication/postLogin).
194
+
195
+
Get the project ID from [GET /api/projects](https://demo.microstrategy.com/MicroStrategyLibrary/api-docs/index.html#/Projects/getProjects_1).
196
+
197
+
:::
198
+
199
+
Retrieve the FFSQL cube’s definition using `GET /api/model/cubes/{cubeId}`.
0 commit comments