Resource: dimensionitem.nv
HTTP-method: POST
Used to add new dimensions and edit existing ones.
Querystring parameters:
Parameter | Occurs | Description | Example |
method | 1 | add or edit. XML determines where new dimension is added in hierarchy or which dimension to edit | add |
updateparentreference | 0...1 | Always true. Used only when editing dimensions, enables changing the dimension hierarchy | true |
Request:
Level | Element | Type and length | Occurs | Description | Example |
Root | root | Aggr. | 1 | ||
1 | dimensionitem | Aggr. | 1 | ||
2 | name | Text | 1 | Header of the dimension, new dimensions are created under this | Dimension header |
2 | item | Text | 1 | Name of the dimension | Dimension |
2 | olditem | Text | 0...1 | If updating existing one, give old name here | Dimension |
2 | fatherid | Numeric | 0...1 | Id of the existing dimension if adding new dimension under existing dimension (hierarchy) | 0 |
2 | fatheritem | Text | 0...1 | Name of the dimension | New Dimension |
2 | ishidden | Boolean | 0...1 | Is dimension hidden: True or False. True=hidden, False=visible | True |
Notes when adding and editing dimensions:
- Aggregates fatherid and fathername are mandatory when new dimension is added in hierarchy (under existing dimension)
- Aggregate olditem is mandatory when editing existing dimension (no matter where in hierarchy it is)
Did you find it helpful? Yes No
Send feedback