Logo
MicroStrategy REST API API Documentation

Update sorting on report instance

PUT {{baseUrl}}/api/v2/reports/:reportId/instances/:instanceId?offset=0&limit=10

 

Body PARAM

Key Datatype Required Description 
offset
number Starting point within the collection of returned results. Used to control paging behavior.
limit
number



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/v2/reports/:reportId/instances/:instanceId?offset=0&limit=10?offset=0&limit=10' -H 'X-MSTR-AuthToken: authToken' -H 'X-MSTR-ProjectID: projectId' -H 'Content-Type: application/json' -d '{"sorting":{"rows":[{"type":"form","attribute":{"id":"8D679D4B11D3E4981000E787EC6DE8A4","name":"Region"},"form":{"id":"CCFBE2A5EADB4F50941FB879CCF1721C"},"subtotalsPosition":"inherit","order":"descending"},{"type":"form","attribute":{"id":"8D679D3F11D3E4981000E787EC6DE8A4","name":"Employee"},"form":{"id":"8D67A52E11D3E4981000E787EC6DE8A4"},"order":"descending"}]}}'

ENDPOINTS