Jake Towers
04/09/2025, 12:01 PMMauricio Cabezas
04/09/2025, 2:30 PMGET /api/v1/layout/workspaces/wsA_id/logicalModel
copy it and PUT in another workspace like
PUT /api/v1/layout/workspaces/wsB_id/logicalModel
With this you will have the same LDM.
Then you do the same but with the analiticalModel
endpoint like
GET /api/v1/layout/workspaces/wsA_id/analyticsModel
Copy it and PUT in another workspace like
PUT /api/v1/layout/workspaces/wsB_id/analyticsModel
The above example is for an empty workspace.
Now, if you already have different dashboards, insights, and metrics, you must be careful with what you include in the body of the PUT call
Check the structure you have from the GET call on wsA and how/what you want to pass to the wsB, in the analyticsModel
endpoint,you have practically all the objects you can use:
analyticalDashboardExtensions
analyticalDashboards
attributeHierarchies
dashboardPlugins
exportDefinitions
filterContexts
metrics
visualizationObjects
I hope this helps.Jake Towers
04/09/2025, 3:13 PMMauricio Cabezas
04/09/2025, 3:20 PMJake Towers
04/09/2025, 3:22 PM