Get Descendants Count

get

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

Returns descendants count for the requested member.

Request

Path Parameters
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

OK

Descendants count returned successfully.

Body ()
Root Schema : schema
Type: integer(int32)

400 Response

Bad Request

Failed to get descendants count.

500 Response

Internal Server Error.

Back to Top

Examples

The following example shows how to get the number of descendants a specified Essbase member has.

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/outline/ASOSamp/Basic/descendantsCount/Products?links=none" -H Accept:text/plain -o prodcount.txt -u %User%:%Password%

Example of Response Body

The following information is written to prodcount.txt:

37
Back to Top