Jedox OLAP documentation

home > API > [/cube/create] >
request url http://[SERVER]:[PORT]/cube/create[?PARAMETER1=value[&...]]
short description Creates a cube
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.
cube identifier Optional: Identifier of the cube. If used, current cube is transfered to the new dimension structure. If also new_name is specified, transfered cube is create with the new name and old cube is kept as legacy.
name_cube string Optional: Name of the cube. Used only if cube parameter is omitted.
new_name string Name of the new cube
dimensions identifier Comma separated list of dimension identifiers
name_dimensions string Comma separated list of dimension names. Used only if dimensions parameter is omitted.
type identifier Type of the dimension (0=normal (default), 3=user info)
sid string Session identifier for a server connection. Use the /server/login request to get a valid session identifier.
result
# name type description
0 cube identifier Identifier of the cube
1 name_cube string Name of the cube
2 number_dimensions integer Number of dimensions
3 dimensions identifier Comma separated list of dimension identifiers
4 number_cells double Total number of cells
5 number_filled_cells integer Number of filled numeric base cells plus number of filled string cells
6 status integer Status of cube (0=unloaded, 1=loaded and 2=changed)
7 type integer Type of cube (0=normal, 1=system, 2=attribute, 3=user info)
8 cube_token integer The cube token of the cube
examples
description
Create new cube with name "new cube" with dimensions "0", "1", "2" and "3"
further information