Get Generation
/essbase/rest/v1/applications/{applicationName}/databases/{databaseName}/dimensions/{dimensionName}/generations/{generationNumber}
Returns generation details of a dimension, based on the specified generation number, application, and database.
Request
-
applicationName: string
Application name.
-
databaseName: string
Database name.
-
dimensionName: string
Dimension name.
-
generationNumber: integer(int32)
Generation number.
Response
- application/json
- application/xml
200 Response
OK
Generation details returned successfully, including links to get or edit the generation.
400 Response
Bad Request
Failed to get generation. The application name, database name, dimension name, or generation number may be incorrect.
500 Response
Internal Server Error.
Examples
The following example shows how to get generation details of a dimension in an Essbase 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/databases/Basic/dimensions/Market/generations/3?links=none" -H Accept:application/json -H Content-Type:application/json -u %User%:%Password%
Example of Response Body
The following example shows the contents of the response body in JSON format.
{
"name" : "State",
"actualName" : "State",
"number" : 3
}