Dimension GetHierarchyDefinition

Returns the definition of the specified hierarchy.

Request

<Alea:Document xmlns:Alea="http://www.misag.com">
  <Alea:Request RequestID="1" Class="Dimension" Method="GetHierarchyDefinition">
    <Alea:Dimension Name="PRODUCT">
      <Alea:Hierarchy Name="PRODUCT" />
    </Alea:Dimension>
  </Alea:Request>
  <Alea:Request RequestID="2" Class="Dimension" Method="GetHierarchyDefinition">
    <Alea:Dimension Name="PRODUCT">
      <Alea:Hierarchy Name="Tire Size" />
    </Alea:Dimension>
  </Alea:Request>
</Alea:Document>

Answer

<Alea:Document xmlns:Alea="http://www.misag.com">
  <Alea:Request RequestID="1">
    <Alea:Return>
      <Alea:Dimension Name="PRODUCT">
        <Alea:Hierarchy Name="PRODUCT">
          <Alea:Description>Product</Alea:Description>
          <Alea:LevelNames>
            <Alea:Level Number="0" Name="All" />
            <Alea:Level Number="1" Name="Product Group" />
            <Alea:Level Number="2" Name="Tire" />
            <Alea:Level Number="3" Name="Size" />
          </Alea:LevelNames>
        </Alea:Hierarchy>
      </Alea:Dimension>
    </Alea:Return>
  </Alea:Request>
  <Alea:Request RequestID="2">
    <Alea:Return>
      <Alea:Dimension Name="PRODUCT">
        <Alea:Hierarchy xmlns:Alea="http://www.misag.com" Name="Tire Size" SourceHierarchy="PRODUCT">
          <Alea:Description>Tires by Size</Alea:Description>
          <Alea:TopLevel Element="All Sizes" />
          <Alea:AttributeLevel TableID="0" AttributeName="SIZE" EmptyValueElement="N.A." />
          <Alea:BaseLevel Hidden="False" />
          <Alea:Properties>
            <Alea:DefaultMember Name="All Sizes" />
            <Alea:LevelNames>
              <Alea:Level Number="0" Name="All" />
              <Alea:Level Number="1" Name="Sizes" />
              <Alea:Level Number="2" Name="Tires" />
            </Alea:LevelNames>
          </Alea:Properties>
          <Alea:DefaultMember Name="All Sizes" />
          <Alea:LevelNames>
            <Alea:Level Number="0" Name="All" />
            <Alea:Level Number="1" Name="Sizes" />
            <Alea:Level Number="2" Name="Tires" />
          </Alea:LevelNames>
        </Alea:Hierarchy>
      </Alea:Dimension>
    </Alea:Return>
  </Alea:Request>
</Alea:Document>