Jedox OLAP documentation

home > API > [/cube/lock] >
request url https://[SERVER]:[PORT]/cube/lock[?PARAMETER1=value[&...]]
short description locks a cube area
long description If an area is locked by an user, then only the user can make changes to the given area. All changes to the area are stored and can be reverted with the cube/rollback request. To delete the lock use the cube/commit (confirm changes) or the cube/rollback (undo changes) request.
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 Identifier of the cube
name_cube string Name of the cube. Used only if cube parameter is omitted.
area area Comma separated list of element identifier lists. Identifier lists are separated by colons. The area is the cartesian product.
name_area narea Comma separated list of element name lists. Name lists are separated by colons. The area is the cartesian product. Used only if area parameter is omitted.
complete integer If 1 and no area is specified, special lock for whole cube is applied. No other user can read the cube and it's not sorted and markers are not generated until commit.
sid string Session identifier for a server connection. Use the /server/login request to get a valid session identifier.
result
# name type description
0 lock integer Indentifier of the locked area
1 area area Comma separated list of element identifiers lists. Each element identifiers list is colon separated. The area is the cartesian product.
2 user string The name of the user who locked the cube
3 steps integer Number of steps
examples
description
Lock cube area "(0,1) x (1,2) x (2,3) x (3,4) x 0 x 0"
further information