WorkWithPlus for BI API

When you create a cube, WorkWithPlus for BI imports the necessary objects to query and manage the cubes. One of those objects is an External Object called "UtilsBusinessIntelligencePlus", that has some important methods to work with the cubes and perform important tasks as Updating data and Add Security to a Cube

The available methods are:

UploadData

This method uploads to the cube ds the file specified in the path and returns the id of the load.

Login

This method authenticates a user in order to visualize a cube and returns the proper token for its user. It receives the username and password from the user (usually an administrator user)

CreateUser

This method creates a new user. It receives the token from a user with enough privileges who need to authenticate before. 

LoginCubeUser

This method authenticates a user in order to visualize a cube and returns the proper token for its user. It receives the username from the user (usually an application user from whom you can't access to its plain password)

GetUserCubes

This method receives a token from a previously authenticated user and returns the list of cubes from which the user has privileges to work with. 

RemoveData

This method removes from the cube ds the specific data load specified in the parameters load.

GetUsers

This method returns every created user.

GetCubeFields

This method returns the fields from the ds.

CreateUserCube

This method sets the privileges within a cube ds, for the list of users defined in users.

EmptyCube

This method removes all the data within the cube ds.

Most of the parameters used in these methods can be retrieved from the procedure BusinessIntelligencePlus<NAME_CUBE>Data.