Add Application Configuration

post

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

Adds the configuration property to the application and returns the added configuration property name.

Request

Supported Media Types
Path Parameters
Body ()

Configuration property entry.

Root 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

Back to Top

Response

Supported Media Types

200 Response

OK

Configuration property added successfully. Returns the configuration details and the links to get, edit, or delete the configuration.

Body ()
Root 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 add the configuration property. The application name or the configuration property JSON could be incorrect, or the configuration property might already have been added to the application.

415 Response

Not Acceptable

The media type isn't supported or wasn't specified.

500 Response

Internal Server Error.

Back to Top

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 POST "https://myserver.example.com:9001/essbase/rest/v1/applications/ASOSamp/configurations?links=none" -H Accept:application/json -H Content-Type:application/json -d '{"key": "IDLETIMEMERGE", "value": "TRUE", "configured": false}' -u %User%:%Password%

Example of Response Body

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

{
  "key" : "IDLETIMEMERGE",
  "value" : "TRUE",
  "configured" : false
}
Back to Top