Get Essbase Script Permissions

get

/essbase/rest/v1/applications/{applicationName}/databases/{databaseName}/scripts/{scriptName}/permissions

Retrieves permissions for the specified script. Applicable only for calculation scripts.

Request

Path Parameters
Back to Top

Response

Supported Media Types

200 Response

OK

Script permissions retrieved successfully.

Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : result
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : properties
Type: object
Additional Properties Allowed
Show Source
Nested Schema : permission
Type: object
Show Source

400 Response

Bad Request

Failed to get permissions for the script. The application, database, or script name may be incorrect.

500 Response

Internal Server Error.

Back to Top

Examples

The following example shows how to use the Essbase REST API to get the user or group permissions associated with a calc script.

This example uses cURL to access the REST API from a Windows shell script. The calling user's ID and password are variables whose values are set in properties.bat.

Get Calc Script Permissions

call properties.bat
curl -X GET https://myserver.example.com:9001/essbase/rest/v1/applications/Sample/databases/Basic/scripts/actuals/permissions -H "accept: application/json" -u %User%:%Password%

Example of Response Body

{
  "items" : [ {
    "id" : "user1"
  } ]
}
Back to Top