Create derived element
POST {{baseUrl}}/api/model/derivedElements
Request Body
{"information"=>{"name"=>"Age Ranges (Under 24, 25-34)", "destinationFolderId"=>"{{publicReportsFolderId}}"}, "attribute"=>{"objectId"=>"5603951E4FE1BC04A44E44B85BBB8ED2", "name"=>"Age Range"}, "elements"=>[{"name"=>"Age under 34", "type"=>"list", "options"=>{"display"=>"individual_items", "subtotal"=>"individual_items", "includeIndividual"=>true}, "text"=>"Under 24, 25 to 34", "elements"=>[{"display"=>"Under 24", "elementId"=>"h1"}, {"display"=>"25 to 34", "elementId"=>"h2"}]}, {"name"=>"All Other", "type"=>"all_other", "options"=>{"display"=>"this_element", "subtotal"=>"disable"}}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-MSTR-AuthToken | string | ||
X-MSTR-MS-Changeset | string |