Get Member Info
/essbase/rest/v1/outline/{app}/{cube}/{memberUniqueName}
Returns either all member properties, or requested member properties.
Request
-
app(required): string
Application name.
-
cube(required): string
Database name.
-
memberUniqueName(required): string
Unique member name (fully qualified name). Can be a member name, a member ID, or an alias. If the member name is non unique (in a duplicate member enabled outline), use a fully qualified member name or use the member ID.
-
applicationNameForConnection: string
Application name for connection.
-
connection: string
Essbase connection name.
-
fields: string
Comma-separated list of member properties to fetch.
Response
- application/json
- application/xml
200 Response
OK
Member information retrieved successfully.
object
The member information output that Essbase displays is contextual. The following are examples of properties that may not be displayed when you request information for a member:
- consolidation: not displayed if the member consolidation is the default of Add (+)
- numberOfChildren: not displayed for leaf-level members (members with no children)
- activeAliasName: not displayed unless a non-default alias table is being used in the session
- attributeType: only displayed for members that are attribute dimension names
- shareMembers: not displayed for dimension-name members nor attributes, as these cannot be the prototype member for a shared member.
- memberHasUniqueName: not displayed unless the outline is duplicate member enabled
-
account:
boolean
true if this member is a member of an Accounts dimension.
-
activeAliasName:
string
Currently active alias name of this member, if an alias table other than Default is being used in the current session.
-
aliases:
object aliases
Additional Properties Allowed: additionalProperties
-
attribute:
boolean
true if this member is a member of an attribute dimension.
-
descendantsCount:
integer(int64)
Number of descendants this member has.
-
dimension:
boolean
true if this member is a top-level dimension member (the member name = the dimension name).
-
dimensionName:
string
Name of the dimension this member belongs to.
-
generationNumber:
integer(int32)
The generation number of this member. Dimension names are generation 1 members, and the generation number increases by 1 with each step closer to the leaf members.
-
levelNumber:
integer(int32)
The level number of this member. Leaf members are level 0, and the level number increases by 1 with each step closer to the dimension root member.
-
links:
array links
-
memberHasUniqueName:
boolean
false if this member name is a duplicate name within the outline, or true if its name is unique. Applicable only for duplicate member enabled outlines.
-
memberId:
string
A permanent, unique identifier for a member, separate from its name. When Essbase auto generates member IDs, they follow an incremental naming pattern: id__0, id__1, id__2, etc.
-
memberSolveOrder:
integer(int32)
A solve order, if assigned for this member. If not assigned, members inherit the solve order of their dimension. Solve order can be 0-127. Lower solve-order members are calculated before higher.
-
name:
string
Member name.
-
numberOfChildren:
integer(int32)
Number of children this member has.
-
previousSiblingsCount:
integer(int32)
Number of siblings that precede this member in the outline.
-
type:
string
Allowed Values:
[ "NONE", "NUMERIC", "SMARTLIST", "DATE" ]
Applicable only if the member is a measure. Which type is designated for the measure; for example, DATE for a measure classified using a date format, SMARTLIST for a text-based measure, NUMERIC.
-
uniqueId:
string
-
uniqueName:
string
The unique name for this member in the outline. If the outline is duplicate-member enabled, and the member name is not unique, then this unique name will be a qualified name that differentiates it from other members with the same name. For example:
[Market].[New York].[New York]
is a unique name.
400 Response
Bad Request
Failed to get member information.
500 Response
Internal Server Error.
Examples
The following examples show how to get Essbase member properties for a specified member in the outline.
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
.
You can specify the member in different ways.
Member information output that Essbase displays is contextual. Typically, default information is not included. The following are examples of properties that may not be displayed when you query information for a member:
- consolidation: not displayed if the member consolidation operator is the default of Add (+)
- numberOfChildren: not displayed for leaf-level members (members with no children)
- activeAliasName: not displayed unless a non-default alias table is being used in the current session
- attributeType: only displayed for members that are attribute dimension names
- shareMembers: not displayed for dimension-name members nor attributes, as these cannot be the prototype member for a shared member.
- memberHasUniqueName: not displayed unless the outline is duplicate member enabled
Member Name
Script with cURL Command
This example gets information about the member named Product in the Sample Basic outline.
call properties.bat
curl -X GET "https://myserver.example.com:9001/essbase/rest/v1/outline/Sample/Basic/Product?links=none" -H Accept:application/json -H Content-Type:application/json -u %User%:%Password%
Example of Response Body
{
"name": "Product",
"numberOfChildren": 5,
"levelNumber": 2,
"aliases": {
"Long Names": null,
"ChineseNames": "not shown",
"JapaneseNames": "not shown",
"GermanNames": "Produkt",
"RussianNames": "not shown",
"Default": null
},
"uniqueName": "Product",
"memberId": "id__68",
"descendantsCount": 21,
"previousSiblingsCount": 2,
"dimension": true,
"dimSolveOrder": 10,
"associatedAttributes": [
{
"dimName": "Caffeinated",
"attributeValueAsString": "",
"attributeValue": false
},
{
"dimName": "Ounces",
"attributeValueAsString": "",
"attributeValue": 0.0
},
{
"dimName": "Pkg Type",
"attributeValueAsString": "",
"attributeValue": "Pkg Type"
},
{
"dimName": "Intro Date",
"attributeValueAsString": "",
"attributeValue": 0
}
],
"formatString": null,
"dimStorageType": "SPARSE"
}
Alias
This example gets information about the member with an alias of Colas in the Sample Basic outline.
Script with cURL Command
call properties.bat
curl -X GET "https://myserver.example.com:9001/essbase/rest/v1/outline/Sample/Basic/Colas?links=none" -H Accept:application/json -H Content-Type:application/json -u %User%:%Password%
Example of Response Body
{
"name": "100",
"dimensionName": "Product",
"numberOfChildren": 3,
"levelNumber": 1,
"generationNumber": 2,
"aliases": {
"Long Names": null,
"ChineseNames": "not shown",
"JapaneseNames": "not shown",
"GermanNames": "not shown",
"RussianNames": "not shown",
"Default": "Colas"
},
"activeAliasName": "Colas",
"uniqueName": "100",
"memberId": "id__69",
"descendantsCount": 3,
"parentName": "Product",
"shareMembers": null
}
Member ID
Script with cURL Command
This example gets information about the member with a member ID of id__68 in the Sample Basic outline.
call properties.bat
curl -X GET "https://myserver.example.com:9001/essbase/rest/v1/outline/Sample/Basic/id__68?links=none" -H Accept:application/json -H Content-Type:application/json -o output.json -u %User%:%Password%
Example of Response Body
{
"name": "Product",
"numberOfChildren": 5,
"levelNumber": 2,
"aliases": {
"Long Names": null,
"ChineseNames": "not shown",
"JapaneseNames": "not shown",
"GermanNames": "Produkt",
"RussianNames": "not shown",
"Default": null
},
"uniqueName": "Product",
"memberId": "id__68",
"descendantsCount": 21,
"previousSiblingsCount": 2,
"dimension": true,
"dimSolveOrder": 10,
"associatedAttributes": [
{
"dimName": "Caffeinated",
"attributeValueAsString": "",
"attributeValue": false
},
{
"dimName": "Ounces",
"attributeValueAsString": "",
"attributeValue": 0.0
},
{
"dimName": "Pkg Type",
"attributeValueAsString": "",
"attributeValue": "Pkg Type"
},
{
"dimName": "Intro Date",
"attributeValueAsString": "",
"attributeValue": 0
}
],
"formatString": null,
"dimStorageType": "SPARSE"
}