Jedox OLAP documentation

home > API > [/element/create_bulk] >
request url https://[SERVER]:[PORT]/element/create_bulk[?PARAMETER1=value[&...]]
short description Creates multiple elements
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.
name_elements string Comma separated list of names of the new elements
type integer Type of the element (1=NUMERIC, 2=STRING, 4=CONSOLIDATED).
types integer Type of the elements (1=NUMERIC, 2=STRING, 4=CONSOLIDATED) as comma separated list. Either type or types must be specified. If type is specified all elements are of the same type. If types is specified then children and weights must be empty for elements of numeric or string type. If types is specified only name_children is allowed.
children identifier Comma and colon separated list of children identifiers. (Only for type=4)
name_children identifier Comma and colon separated list of children names. Used only if children parameter is omitted. (Only for type=4)
weights double Optional comma and colon separated list of children weight. (defaults to weight=1 for each child) (Only for type=4)
sid string Session identifier for a server connection. Use the /server/login request to get a valid session identifier.
result
# name type description
examples
description
Create six new numeric elements.
Create two new consolidated elements with names "abc" and "def". Element "abc" will have children (10, 11, 12) with weights (1, 1, 2). Element "def" will have children (13, 14, 15) with weights (1, 2, 1).
Create two new consolidated elements with names "abc" and "def". Element "abc" will have children ("a", "b", "c") with weights (1, 1, 2). Element "def" will have children ("d", "e", "f") with weights (1, 2, 1).
further information