Logo
MicroStrategy REST API API Documentation

Reports

Number of APIs: 32


1. Read a report's definition through Modelling Service

GET {{baseUrl}}/api/model/reports/:reportId?showFilterTokens=true&showExpressionAs=tree&showAdvancedProperties=true



2. Replace datasource and either remove or replace attributes and metrics on report instance.

PUT {{baseUrl}}/api/reports/:reportId/instances/:instanceId/dataset



3. Get the status of a report instance

GET {{baseUrl}}/api/reports/:reportId/instances/:instanceId/status



4. Save the changes in the instance to report

POST {{baseUrl}}/api/reports



5. Get elements for a specific attribute in a specific report

GET {{baseUrl}}/api/reports/:reportId/attributes/:attributeId/elements



6. Get elements for a specific attribute in a specific report instance

GET {{baseUrl}}/api/reports/:reportId/instances/:instanceId/attributes/:attributeId/elements



7. Get the collection of prompts and their respective definitions from a report

GET {{baseUrl}}/api/reports/:reportId/prompts



8. Get the collection of prompts and their respective definitions from a report instance. This endpoint will return data only when the report instance has prompt which need to be answered.

GET {{baseUrl}}/api/reports/:reportId/instances/:instanceId/prompts



9. Answer specified prompts

PUT {{baseUrl}}/api/reports/:reportId/instances/:instanceId/prompts/answers



10. Get available object for answering all kinds of prompts

GET {{baseUrl}}/api/reports/:reportId/instances/:instanceId/prompts/:promptIdentifier/objects



ENDPOINTS