Get MDX Functions
get
/essbase/rest/v1/applications/{applicationName}/databases/{databaseName}/mdxFunctions
Returns list of MDX functions
Request
Path Parameters
-
applicationName(required): string
Application name.
-
databaseName(required): string
Application name.
Response
Supported Media Types
- application/json
- application/xml
200 Response
OK
XML or JSON string containing list of MDX functions returned successfully.
Root Schema : schema
Type:
string
500 Response
Internal Server Error.
Examples
The following example shows how to return a list of all MDX functions using the Essbase REST API.
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/ASOSamp/databases/Basic/mdxFunctions -H "Accept:application/xml" -o out_mdxfunctions.xml -u %User%:%Password%
Example of Response
The response in out_mdxfunctions.xml
is a long list of all MDX functions, including their syntax and description.