Logo
MicroStrategy REST API API Documentation

Create instance of report

POST {{baseUrl}}/api/v2/reports/:reportId/instances

 

Body PARAM

Key Datatype Required Description 
Prefer
null Prefer--allow client to set preferences. Currently, respond-async allows client to execute in async mode
offset
null Starting point within the collection of returned results. Used to control paging behavior. Default value : 0
limit
null Maximum number of items returned for a single request. Used to control paging behavior. Use -1 for no limit. Default value : 1000
standardDateFormat
null Standard date format in ISO8601
standardRawDateFormat
null Standard raw date format in ISO8601
executionStage
null The execution stage the report is executed to. Available values: resolve_prompts, execute_data. Default value : execute_data
fields
null Field selector. This allows client to exclude unneeded information from response model. It can be either empty, or a combination of following exclusion rules separated by comma: '-data.metricValues.raw' / '-data.metricValues.formatted' / '-data.metricValues.extras'.



HEADERS

Key
Curl
curl -X POST 'baseUrl/api/v2/reports/:reportId/instances?Prefer=&offset=&limit=&standardDateFormat=&standardRawDateFormat=&executionStage=&fields=' -H 'X-MSTR-AuthToken: authToken' -H 'X-MSTR-ProjectID: projectId'

ENDPOINTS