Get Scripts Provisioning Report
/essbase/rest/v1/groups/{groupId}/provisionReport/applications/{application}/scripts
Gets a provisioning report about scripts for the specified application. The logged in user must have at least Database Manager role for the application.
If you are using EPM Shared Services security mode, this operation is not available. Instead, manage users, groups, and permissions in the Shared Services Console.
Request
-
application(required): string
Application name.
-
groupId(required): string
Group ID.
Response
- application/json
- application/xml
200 Response
OK
Provisioning report returned successfully.
object
-
inheritedFromGroups:
array inheritedFromGroups
Unique Items Required:
true
-
name:
string
400 Response
Bad Request
Failed to get provisioning report. The logged in user may not have the appropriate application role.
404 Response
Not Found
The group with that ID does not exist.
500 Response
Internal Server Error.
Examples
The following example shows how to retrieve the calculations assigned to a particular group for one application on the Essbase Server.
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
.
Script with cURL Command
The script requests calc provisioning information for the group id CalcGrp related to the application Sample.
call properties.bat
curl -X GET https://myserver.example.com:9001/essbase/rest/v1/groups/CalcGrp/provisionReport/applications/Sample/scripts -H "accept: application/json" -u %User%:%Password%
Example of Response Body
{
"items" : [ {
"database" : "Basic",
"items" : [ {
"name" : "dcoff"
}, {
"name" : "actuals"
}, {
"name" : "calc_measures"
}, {
"name" : "pov_scenario_period"
}, {
"name" : "BeginJan"
}, {
"name" : "EBudg",
"inheritedFromGroups" : [ "sample_basic_dbupdaters" ]
} ]
} ]
}