Jedox OLAP documentation

home > API > [/element/create] >
request url https://[SERVER]:[PORT]/element/create[?PARAMETER1=value[&...]]
short description Creates an element
long description
parameters
name type description
database identifier Identifier of the database
name_database string Name of the database. Used only if database parameter is omitted.
dimension identifier Identifier of the dimension
name_dimension string Name of the dimension. Used only if dimension parameter is omitted.
new_name string Name of the new element
type integer Type of the element (1=NUMERIC, 2=STRING, 4=CONSOLIDATED)
children identifier Comma separated list of children identifiers. (Only for type=4)
name_children string Comma separated list of children names. Used only if children parameter is omitted. (Only for type=4)
weights double Optional comma separated list of children weights. (defaults to weight=1 for each child) (Only for type=4)
squash_list boolean If 1 then children and parents list are shortened to intervals (1-10) and weights are shortened to weight:count
sid string Session identifier for a server connection. Use the /server/login request to get a valid session identifier.
result
# name type description
0 element identifier Identifier of the element
1 name_element string Name of the element
2 position integer Position of the element
3 level integer Level of the element
4 indent integer Indent of the element
5 depth integer Depth of the element
6 type integer Type of the element (1=NUMERIC, 2=STRING, 4=CONSOLIDATED)
7 number_parents integer Number of parents
8 parents identifier Comma separated list of parent identifiers
9 number_children integer Number of children
10 children identifier Comma separated list of children identifiers
11 weights double Comma separated list of children weights
examples
description
Create new consolidated element with name "new element" and children "1,2,3"
further information