Deleting an element

Elements are deleted using the Alea:DeleteElement tag sent inside the Alea:DimensionTemplate tag.

Request

This request deletes an element in the default hierarchy.

<Alea:Document xmlns:Alea="http://www.misag.com"> 
  <Alea:Request RequestID="6" Class="Dimension" Method="Write"> 
    <Alea:Dimension Name="Org" FirstBatch="true" LastBatch="true"> 
      <Alea:DimensionTemplate Name="Org">
        <Alea:DeleteElement Name="Fire Department" /> 
      </Alea:DimensionTemplate>
    </Alea:Dimension> 
  </Alea:Request> 
</Alea:Document>

Request

This request deletes an element in a non-default hierarchy.
<Alea:Document xmlns:Alea="http://www.misag.com"> 
  <Alea:Request RequestID="7" Class="Dimension" Method="Write"> 
    <Alea:Dimension Name="Org" FirstBatch="true" LastBatch="true"> 
      <Alea:DimensionTemplate Name="Org" />
      <Alea:Hierarchy Name="Org as of 2014">
        <Alea:HierarchyTemplate Name="Org as of 2014" IgnoreSourceNotExist="false">
          <Alea:DeleteElement Name="Fire Department" /> 
        </Alea:HierarchyTemplate> 
      </Alea:Hierarchy>  
    </Alea:Dimension> 
  </Alea:Request> 
</Alea:Document>