Jedox OLAP documentation

home > API > [/element/replace_bulk] >
request url https://[SERVER]:[PORT]/element/replace_bulk[?PARAMETER1=value[&...]]
short description Creates or updates list of elements
long description This request creates or changes multiple elements. For consolidated elements this request replaces the existing elements with the given children elements.
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.
elements identifier Comma separated list of element identifiers
name_elements string Comma separated list of names of elements. Used only if elements parameter is omitted.
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.
children identifier Comma and colon separate list of children identifiers. (Only for type=4)
weights double Optional comma and colon separate 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
0 OK boolean "1" means OK
examples
description
Create consolidated elements "new element 1" with children "6,7,8" and "new element 2" with children "9,10,11"
Updates consolidated elements "30" with children "6,7,8" and "31" with children "9,10,11"
further information