Update Outline Settings

patch

/essbase/rest/v1/applications/{applicationName}/databases/{databaseName}/settings/outline

Updates the outline settings of the specified database. This operation has limited capacity. For more outline update options, refer to the otlUpdate action in Run Batch Outline Edit API.

Request

Supported Media Types
Path Parameters
Body ()

Outline settings patch list.

Root Schema : schema
Type: array
Show Source
Nested Schema : PatchElement
Type: object
Show Source
Nested Schema : value
Type: object

New value of setting you want to patch. See examples.

Back to Top

Response

204 Response

OK

Outline settings updated successfully.

400 Response

Bad Request

Failed to update the settings. The application or database name may be incorrect, or the JSON for the settings may be incorrect.

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 update outline settings for a cube.

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 PATCH https://myserver.example.com:9001/essbase/rest/v1/applications/Sample/databases/Basic/settings/outline -H "accept: application/json" -H "Content-Type: application/json" --data "@./otlgeneraldate.json" -u %User%:%Password%

Sample JSON Payload

The cURL example above delivers the following JSON payload in otlgeneraldate.json, to update the date format in the general outline settings.

[
  {"op":"replace", "path":"/general/dateFormat", "value": "dd/mm/yy"}
]
Back to Top