Logo
MicroStrategy REST API API Documentation

Create a datamart instance through Modelling Service

POST {{baseUrl}}/api/model/datamarts/:datamartId/instances

This API executes a specified datamart. A project ID is required to execute the request. Use GET datamarts API to check the status of the instance.

 

Body PARAM

Key Datatype Required Description 
messageId
null This parameter is used in recovering instance after reprompt. And the messageId is the instanceId in response body of datamart reprompt API.
isNewDatamart
null If the messageId is valid, for the existing datamart, this parameter should be false which is also the default value.



HEADERS

Key Datatype Required Description 
X-MSTR-AuthToken
string (Required) Authorization token
X-MSTR-ProjectID
string (Required) Project ID




RESPONSES

status





Curl
curl -X POST 'baseUrl/api/model/datamarts/:datamartId/instances?messageId=&isNewDatamart=' -H 'X-MSTR-AuthToken: authToken' -H 'X-MSTR-ProjectID: projectId'

ENDPOINTS