Append Attributes (Master and Analytic Models)
  • 1 Minute to read
  • Dark
    Light
  • PDF

Append Attributes (Master and Analytic Models)

  • Dark
    Light
  • PDF

Article summary

Use this API to create or append attributes and attribute hierarchies, specify display labels for attributes, and create or modify attribute-to-dimension-member mappings in Master and Analytic models.

You can also optionally specify display labels for attributes.

To create or append attributes and attribute hierarchies, include the <attribute-members> section as shown below.

To map attribute leaves to dimension leaves, include the <attribute-mapping> section.

You can include both the <attribute-members> and <attribute-mapping> sections, or either section.

This API works if the model is generated or ungenerated, locked or unlocked.

Dynamic Planning supports no more than 5 attributes per dimension.

POST /modeling/model/attributes/append HTTP/1.1
Content-Type: application/xml
Accept: application/xml
X-ACCESS-TOKEN:
 
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<attribute-payload>
<model-name>$ModelName</model-name>
<dimension-name>$DimensionName</dimension-name>
<attribute-name>$AttributeName</attribute-name>
<delimiter>$Delimiter</delimiter>
<attribute-members>
<!-- member code @ member parent @ member display label [optional] -->
<!-- add as many rows as needed -->
<member>$AttributeMember@$AttributeMemberParent@$AttributeMemberDisplayLabel</member>
</attribute-members>
<!-- dimension leaf member code @  attribute leaf member code -->
<!-- add as many rows as needed -->
<attribute-mapping>     
<member>$DimensionMember@$AttributeMember</member>
  </attribute-mapping>     
</attribute-payload>

Was this article helpful?