Get Member Info

get

/essbase/rest/v1/outline/{app}/{cube}/{memberUniqueName}

Returns either all member properties, or requested member properties.

Request

Path Parameters
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

OK

Member information retrieved successfully.

Body ()
Root Schema : MemberBean
Type: 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

Show Source
  • true if this member is a member of an Accounts dimension.

  • Currently active alias name of this member, if an alias table other than Default is being used in the current session.

  • aliases
    Additional Properties Allowed: additionalProperties
  • true if this member is a member of an attribute dimension.

  • Number of descendants this member has.

  • true if this member is a top-level dimension member (the member name = the dimension name).

  • Name of the dimension this member belongs to.

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

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

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

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

  • Member name.

  • Number of children this member has.

  • Number of siblings that precede this member in the outline.

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

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

Nested Schema : aliases
Type: object
Additional Properties Allowed
Show Source

400 Response

Bad Request

Failed to get member information.

500 Response

Internal Server Error.

Back to Top

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
}

Shared Member

Script with cURL Command

The following example requests properties of a shared member. To distinguish it from the prototype member, we provide the fully qualified member name, [High End Merchandise].[HDTV].

Use URL encoding (percent-encoding) for the following characters so that they are interpreted correctly in the HTTP request.

call properties.bat
curl -X GET "https://myserver.example.com:9001/essbase/rest/v1/outline/ASOSamp/Basic/%5BHigh%20End%20Merchandise%5D.%5BHDTV%5D?links=none" -H Accept:application/json -H Content-Type:application/json -o output.json -u %User%:%Password%

Example of Response Body

{
	"name": "HDTV",
	"dimensionName": "Products",
	"generationNumber": 3,
	"aliases": {
		"Default": null
	},
	"uniqueName": "[High End Merchandise].[HDTV]",
	"memberId": "id__545",
	"previousSiblingsCount": 1,
	"dataStorageType": "SHAREDMEMBER",
	"parentName": "High End Merchandise",
	"shareMembers": null,
	"hierarchy": "NOTHIERARCHY"
}

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