Logo
MicroStrategy REST API API Documentation

Answer specified prompts

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

Answer specified prompts on the report instance, prompts can either be answered with default answers(if available), the appropriate answers, or if the prompt is not required the prompt can simply be closed. If no prompt answers are provided for a particular prompt, it will be closed without answers.

 

Body PARAM

Key Datatype Required Description 



HEADERS

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




RESPONSES

status





Curl
curl -X PUT 'baseUrl/api/reports/:reportId/instances/:instanceId/prompts/answers' -H 'X-MSTR-AuthToken: authToken' -H 'X-MSTR-ProjectID: projectId' -H 'Content-Type: application/json' -d '{"prompts":[{"id":"CE00D3414FA5C4B81DBF5AB4A4829C5E","key":"CE00D3414FA5C4B81DBF5AB4A4829C5E@0@10","name":"Select Attributes to display on rows","type":"OBJECTS"}]}'

ENDPOINTS