Logo
MicroStrategy REST API API Documentation

Update a derived element in report

PUT {{baseUrl}}/api/model/reports/:reportId/derivedElements/:derivedElementId

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
X-MSTR-AuthToken
string (Required) Authorization Token
X-MSTR-MS-Instance
string (Required) Instance ID




RESPONSES

status





Curl
curl -X PUT 'baseUrl/api/model/reports/:reportId/derivedElements/:derivedElementId' -H 'X-MSTR-AuthToken: authToken' -H 'X-MSTR-MS-Instance: rd_instanceId' -d '{"information":{"name":"sample derived element","description":"Update"},"attribute":{"objectId":"8D679D3711D3E4981000E787EC6DE8A4","subType":"attribute","name":"Category"},"elements":[{"name":"Books and Electronics","type":"list","options":{"display":"this_element","subtotal":"this_element","includeIndividual":false},"text":"Books, Electronics","elements":[{"display":"Books","elementId":"h1"},{"display":"Electronics","elementId":"h2"}]},{"id":"88430A7BF012403BB18B0E398D4709F7","name":"All Others","type":"all_other","options":{"display":"individual_items","subtotal":"this_element"}}]}'

ENDPOINTS