Update a drill map

PUT {{baseUrl}}/api/model/drillMaps/:drillMapId

Updates a specific drill map in the changeset, based on the definition provided in the request body. It returns the drill map's updated definition in the changeset.

The modeling service performs a full validation for each part of the body. If something is wrong, an error is reported.

The changeset ID can be obtained using the changeset creation API. An authorization token is required to execute the request and can be obtained using Authentication endpoints.

To save the change in the metadata, commit using the changeset commit API.

Request Params

KeyDatatypeRequiredDescription
showFieldsstringSpecify what additional information is returned. Only "acl" is supported.

If acl, the access control list for each object is included. |

Request Body

{"information"=>{"name"=>"Test DrillMap", "destinationFolderId"=>"{{publicReportsFolderId}}"}, "drillPaths"=>[{"type"=>"up", "target"=>{"objectId"=>"8D679D3711D3E4981000E787EC6DE8A4", "subType"=>"attribute", "name"=>"Year"}, "priority"=>"low", "options"=>{"setName"=>"Set1", "keepParent"=>false, "keepThresholds"=>false, "keepPageBy"=>false, "keepBaseTemplate"=>false, "applyUserFilter"=>true, "applyReportFilter"=>true, "includeOtherFilter"=>"default"}}]}

HEADERS

KeyDatatypeRequiredDescription
X-MSTR-AuthTokenstring(Required) Authorization Token
X-MSTR-MS-Changesetstring(Required) Changeset ID