Get Outline Settings
/essbase/rest/v1/applications/{applicationName}/databases/{databaseName}/settings/outline
Returns outline settings of the specified database. Additional settings can be retrieved using the expand
parameter.
Request
-
applicationName(required): string
Application name.
-
databaseName(required): string
Database name.
-
applicationNameForConnection: string
Application name for connection.
-
connectionName: string
Essbase connection name.
-
expand: string
Use
none
to show only general outline settings (this is the default). Other options available areattribute
andall
.Default Value:none
Allowed Values:[ "none", "attributes", "all" ]
Response
- application/json
- application/xml
200 Response
OK
Database outline settings returned successfully, with links to get expanded settings.
object
-
attributes:
object attributes
Specifications for handling member names in attribute dimensions.
-
general:
object general
-
links:
array links
object
Specifications for handling member names in attribute dimensions.
-
calcAverageMember:
string
In an attribute calculations dimension, the name to use when requesting average data.
-
calcCountMember:
string
In an attribute calculations dimension, the name to use when requesting count data.
-
calcDimensionName:
string
The name of the attribute calculations dimension.
-
calcMaximumMember:
string
In an attribute calculations dimension, the name to use when requesting maximum data.
-
calcMinimumMember:
string
In an attribute calculations dimension, the name to use when requesting minimum data.
-
calcSumMember:
string
In an attribute calculations dimension, the name to use when requesting sum data.
-
dateMemberNames:
string
Date member format in attribute dimensions. Values:
MMDDYYYY
for Month first orDDMMYYYY
for day first. -
falseMemberName:
string
Name for False members in Boolean attribute dimensions.
-
numericRangesRepresent:
string
Date range setting for numeric attribute dimensions. Values:
UPPER_BOUND_INCLUSIVE
,LOWER_BOUND_INCLUSIVE
,UPPER_BOUND_NON_INCLUSIVE
,LOWER_BOUND_NON_INCLUSIVE
-
prefixSuffixFormat:
string
If unique names are required for member names in Boolean, date, and numeric attribute dimensions in the outline, set prefixSuffixValue to something other than NONE and set this value to select a prefix or a suffix. Values:
PREFIX
orSUFFIX
. -
prefixSuffixSeparator:
string
Separator character between the prefix or suffix and the attribute member name. Values:
UNDERSCORE
,PIPE
,CARET
-
prefixSuffixValue:
string
A prefix or suffix value to use for attribute member names as needed to support member name uniqueness.
Values:
NONE
,PARENT
,GRANDANDPARENT
,ALLANCESTORS
,DIMENSION
-
trueMemberName:
string
Name for True members in Boolean attribute dimensions.
object
-
allowDuplicateMemberNames:
boolean
true
if duplicate member names were enabled at outline creation time, andfalse
otherwise (member names must be unique). -
caseSensitiveMembers:
boolean
-
dateFormat:
string
Date format displayed in queries on date measures (if typed measures are enabled and date measures are implemented). For example:
mm/dd/yyyy
. Refer to otlUpdate action in Run Batch Outline Edit. -
outlineType:
string
-
timeModified:
integer(int64)
-
typeMeasuresEnabled:
boolean
true
if typed measures are enabled, andfalse
otherwise. The default is true. Typed measures include date measures and text lists. Both of these extend the capabilities of Essbase beyond numerical data to text- and date-based analytics. -
varyingAttributesEnabled:
boolean
400 Response
Bad Request
Failed to get the settings. The application or database name may be incorrect.
500 Response
Internal Server Error.
Examples
The following example shows how to get 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 GET "https://myserver.example.com:9001/essbase/rest/v1/applications/Sample_Dynamic/databases/Basic/settings/outline?expand=all" -H "accept: application/json"-u %User%:%Password%
Example of Response Body
{
"general": {
"caseSensitiveMembers": false,
"outlineType": "NORMAL",
"allowDuplicateMemberNames": false,
"typeMeasuresEnabled": true,
"dateFormat": "yyyy-mm-dd",
"varyingAttributesEnabled": false,
"timeModified": 1586286662000
},
"attributes": {
"prefixSuffixValue": "Parent",
"prefixSuffixSeparator": "Underscore",
"prefixSuffixFormat": "Prefix",
"trueMemberName": "True",
"falseMemberName": "False",
"dateMemberNames": "Month First (mm-dd-yyyy)",
"numericRangesRepresent": "Upper bound inclusive",
"calcDimensionName": "Attribute Calculations",
"calcSumMember": "Sum",
"calcCountMember": "Count",
"calcMinimumMember": "Min",
"calcMaximumMember": "Max",
"calcAverageMember": "Avg"
},
"links": [
{
"rel": "dateformats",
"href": "https://myserver.example.com:9001/essbase/rest/v1/applications/Sample_Dynamic/databases/Basic/settings/outline/dateformats",
"method": "GET"
},
{
"rel": "edit",
"href": "https://myserver.example.com:9001/essbase/rest/v1/applications/Sample_Dynamic/databases/Basic/settings/outline",
"method": "PATCH"
}
]
}