Dimension ImportAttributeValues (10.5)

Imports attribute values into a dimension.

Request

In this example, you must replace the \t with a Tab.

<Alea:Document xmlns:Alea="http://www.misag.com">
  <Alea:Request RequestID="0815" Class="Dimension" Method="ImportAttributeValues">
    <Alea:Dimension Name="DimensionName" WithHierarchies="true">
      <Alea:AttributeTable ID="1" >
        <Alea:Column Name="AFstring1" />
        <Alea:Column Name="AFdate1" />
        <Alea:Column Name="AFlogical1" />
        <Alea:Values>Hierarchy1\tElement1\tStringContent\t20150429\tT
        Hierarchy2\tElement2\t\t\tF</Alea:Values>
        <!-- delete string and date -->
      </Alea:AttributeTable>
    </Alea:Dimension>
  </Alea:Request>
</Alea:Document>

The attribute value should be written without escaping ('^'), Dimension.Read automatically escapes the value in the XML response. If '2 ^ 3' is put using Dimension.ImportAttributeValues, then '2 ^^ 3' is returned by Dimension.Read.

To delete an attribute value, leave the content empty.

Optionally, you can include the WithHierachies element. If the WithHierachies element is missing, the default is False. Set WithHierachies to True and the string before the first tab in <Alea:Values> is interpreted as a hierarchy name.

The format for date attributes is yyyymmdd. The valid dates range from 00000101 to 99991231. The valid entries for logical attributes are T or F.

AttributeTable IDs are 1-based.

Answer

<Alea:Document xmlns:Alea="http://www.misag.com">
  <Alea:Request RequestID="001">
    <Alea:Return/>
  </Alea:Request>
</Alea:Document>

Error

<Alea:Document xmlns:Alea="http://www.misag.com">
  <Alea:Request RequestID="001">
    <Alea:Error ErrorID="error_code"/>
  </Alea:Request>
</Alea:Document>