Get Attribute Settings

get

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

Returns attribute settings of the outline from the specified database.

Request

Path Parameters
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

OK

Attribute settings returned successfully.

Body ()
Root Schema : attributes
Type: object

Specifications for handling member names in attribute dimensions.

Show Source
  • In an attribute calculations dimension, the name to use when requesting average data.

  • In an attribute calculations dimension, the name to use when requesting count data.

  • The name of the attribute calculations dimension.

  • In an attribute calculations dimension, the name to use when requesting maximum data.

  • In an attribute calculations dimension, the name to use when requesting minimum data.

  • In an attribute calculations dimension, the name to use when requesting sum data.

  • Date member format in attribute dimensions. Values: MMDDYYYY for Month first or DDMMYYYY for day first.

  • Name for False members in Boolean attribute dimensions.

  • Date range setting for numeric attribute dimensions. Values: UPPER_BOUND_INCLUSIVE, LOWER_BOUND_INCLUSIVE, UPPER_BOUND_NON_INCLUSIVE, LOWER_BOUND_NON_INCLUSIVE

  • 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 or SUFFIX.

  • Separator character between the prefix or suffix and the attribute member name. Values: UNDERSCORE, PIPE, CARET

  • A prefix or suffix value to use for attribute member names as needed to support member name uniqueness.

    Values: NONE, PARENT, GRANDANDPARENT, ALLANCESTORS, DIMENSION

  • Name for True members in Boolean attribute dimensions.

400 Response

Bad Request

Failed to get the attribute settings. The application or database name may be incorrect.

500 Response

Internal Server Error.

Back to Top

Examples

The following example shows how to get attribute 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/attributes" -H "accept: application/json"-u %User%:%Password%

Example of Response Body

{
  "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"
  }
}
Back to Top