Dimension ImportAttributeValues

Imports attribute values into a dimension.

Request

In this example, replace \t with an actual horizontal tabulator.

<Alea:Document xmlns:Alea="http://www.misag.com">
  <Alea:Request RequestID="0815" Class="Dimension" Method="ImportAttributeValues">
    <Alea:Dimension Name="DCS_MEASURE" WithHierarchies="true">
      <Alea:AttributeTable ID="1">
        <Alea:Column Name="AFstring1" />
        <Alea:Column Name="AFdate1" />
        <Alea:Column Name="AFlogical1" />
        <Alea:Values>DCS_MEASURE\tUnits\tStringContent\t20150429\tT
<!-- delete attribute values of AFdate1 and AFlogical1 –->
DCS_MEASURE\tRevenue\tStringContent2\t\t</Alea:Values>
      </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.

Optionally, you can include the WithHierarchies XML attribute. If it is true then the string in front of the first horizontal tabulator in <Alea:Values> is interpreted as hierarchy name. The default of this XML attribute is false.

All attribute fields can be empty. 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. To delete a value of an attribute field, leave the content empty.

AttributeTable IDs are 1-based.

Answer

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

Error

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