Get Application Configuration

get

/essbase/rest/v1/applications/{applicationName}/configurations

Returns all the configuration properties currently set for the specified application.

Request

Path Parameters
Back to Top

Response

Supported Media Types

200 Response

OK

Configuration properties retrieved successfully. Returns all the configuration properties which are set for the application, and the links to get, edit, or delete each property.

Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : ApplicationConfigList
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : properties
Type: object
Additional Properties Allowed
Show Source
Nested Schema : ApplicationConfigEntry
Type: object
Show Source
  • If true, the configuration property is enabled.

    If false, the configuration property is turned off.

  • A description of the configuration property.

  • Usage example for the configuration property. Example: DATACACHESIZE 90M

  • 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
  • The syntax for the configuration property. Example: DATACACHESIZE n

  • Value for the configuration property. Example: 1024

400 Response

Bad Request

Failed to get the configuration properties. The application name may be incorrect.

500 Response

Internal Server Error.

Back to Top

Examples

The following example shows how to get configuration properties currently set for the specified Essbase application.

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?links=none" -H Accept:application/json -H Content-Type:application/json -u %User%:%Password%

Example of Response Body

The following example shows the contents of the response body in JSON format.

{
  "items" : [ {
    "key" : "ASODEFAULTCACHESIZE",
    "value" : "32M",
    "configured" : false
  }, {
    "key" : "ASODYNAMICAGGINBSO",
    "value" : "FULL",
    "configured" : false
  }, {
    "key" : "DATACACHESIZE",
    "value" : "3M",
    "configured" : false
  }, {
    "key" : "INDEXCACHESIZE",
    "value" : "1M",
    "configured" : false
  }, {
    "key" : "MAXFORMULACACHESIZE",
    "value" : "1024",
    "configured" : false
  }, {
    "key" : "HYBRIDBSOINCALCSCRIPT",
    "value" : "FULL",
    "configured" : false
  } ]
}
Back to Top