Get Application Tree View
get
/essbase/rest/v1/applications/actions/tree
Gets the list of applications and databases as a tree view.
Request
There are no request parameters for this operation.
Back to TopResponse
Supported Media Types
- application/json
- application/xml
200 Response
OK
Tree view listing of applications and databases returned successfully.
Root Schema : schema
Type:
string
500 Response
Internal Server Error
Examples
The following example shows how to get the list of Essbase applications and databases as a tree view.
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
call properties.bat
curl -X GET "https://myserver.example.com:9001/essbase/rest/v1/applications/actions/tree" -H "Accept:application/json" -H "Content-Type:application/json" -u %User%:%Password%
Example of Response Body
{
"items" : [ {
"name" : "ASOSamp",
"databases" : [ {
"name" : "Basic"
} ]
}, {
"name" : "Facility",
"databases" : [ {
"name" : "Rating"
} ]
}, {
"name" : "Sample",
"databases" : [ {
"name" : "Basic"
} ]
}, {
"name" : "Demo",
"databases" : [ {
"name" : "Basic"
} ]
}, {
"name" : "Sample_Dynamic",
"databases" : [ {
"name" : "Basic"
} ]
} ],
"count" : 5,
"totalResults" : 5
}