Get Application Configuration Property
/essbase/rest/v1/applications/{applicationName}/configurations/{configId}
Returns configuration (based on configuration property name) from the specified application.
Request
-
applicationName(required): string
Application name.
-
configId(required): string
Configuration property name.
Response
- application/json
- application/xml
200 Response
OK
The configuration was retrieved successfully. Returns the configuration details and the links to get, edit, or delete the configuration.
object
-
configured:
boolean
If true, the configuration property is enabled.
If false, the configuration property is turned off.
-
description:
string
A description of the configuration property.
-
example:
string
Usage example for the configuration property. Example:
DATACACHESIZE 90M
-
key:
string
Filter key to refine the configuration property results. For example if
key=A*
, all configuration properties beginning with the letter A are returned. Default is * -
links:
array links
-
syntax:
string
The syntax for the configuration property. Example:
DATACACHESIZE n
-
value:
string
Value for the configuration property. Example:
1024
400 Response
Bad Request
Failed to get the configuration information. The application name or configuration property is invalid.
500 Response
Internal Server Error.
Examples
The following example shows how to get the configuration currently set for the specified Essbase application, for a specific configuration property name.
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/Sample_Dynamic/configurations/HYBRIDBSOINCALCSCRIPT?links=none" -u %User%:%Password%
Example of Response Body
The following example shows the contents of the response body in JSON format.
{
"key" : "HYBRIDBSOINCALCSCRIPT",
"value" : "FULL",
"configured" : false
}