Get Partitions
/essbase/rest/v1/applications/{applicationName}/databases/{databaseName}/partitions
Returns a list of partitions defined on the database, or a specific partition.
- With no parameters: Returns all available partitions.
- With type parameter: Returns filtered partitions list.
- With partition type, source server, source application, and source database parameters: Returns the specified partition details.
Request
-
applicationName(required): string
Application name.
-
databaseName(required): string
Database name.
-
applicationLevelDatasource: boolean
Specify whether the Datasource is defined at application level.
-
applicationName: string
Partition source application name.
-
databaseName: string
Partition source database name.
-
datasourceName: string
Datasource name.
-
limit: integer(int32)
Maximum number of partitions to return.
-
measuresDimensionName: string
Pivot dimension name. Can be Measures dimension, but does not have to be.
-
offset: integer(int32)
Number of partitions to omit from the start of the result set.
-
serverName: string
Partition source server URL, ending in
/essbase/agent
. -
type: array[string]
Allow Empty value:
true
Collection Format:multi
Partition type. Multiple types can be added with a comma separator.
-
Allowed Values:
[ "TRANSPARENT", "REPLICATED", "FEDERATED", "LAZY_TRANSPARENT" ]
-
Response
- application/json
- application/xml
200 Response
OK
Partition list or partition details returned successfully.
object
-
areas:
array areas
-
errorMessage:
string
An error message associated with partition validation.
-
federatedTypeAV:
boolean
Whether federated partition to Autonomous Database is enabled. If true, the cube data is stored in Autonomous Data Warehouse, and Analytic View objects are used for Essbase metadata.
-
federatedTypeCR:
boolean
Obsolete.
-
id:
string
Partition ID.
-
isNew:
boolean
Whether the partition definition is new.
-
links:
array links
-
locked:
boolean
Whether the partition object is locked.
-
mappings:
array mappings
-
sourceInfo:
object ConnectionInfoBean
-
targetInfo:
object ConnectionInfoBean
-
type:
string
Partition type. TRANSPARENT, REPLICATED, or FEDERATED.
-
updatable:
boolean
Whether the partition definition can be updated.
object
-
alterCredentials:
boolean
-
applicationLevelConnection:
boolean
Must be specified as true if the connection is defined at the application level rather than globally.
-
applicationLevelDatasource:
boolean
Must be specified as true if the Datasource is defined at the application level rather than globally.
-
applicationName:
string
Name of application.
-
connectionName:
string
Connection name used for partition connectivity. Required for partitions accessing data outside of a single Essbase instance.
-
databaseName:
string
Name of Essbase database/cube.
-
datasourceName:
string
Datasource name used for partition connectivity.
-
description:
string
-
essbaseToColumnMap:
object EsbToColMap
For federated Essbase cube, map dimensions or members to columns in the fact table.
-
essbaseToDataSourceMap:
object EssToDsMapDTO
-
factTableName:
string
The name of the fact table in Autonomous Database that stores numeric values and keys.
-
isFactManagedByFederatedCube:
boolean
true if the federated partition fact table is managed by Essbase, instead of by the Autonomous Data Warehouse schema administrator.
-
measuresDimensionName:
string
Pivot dimension name defined in federated partition. Can be Measures dimension, but does not have to be.
-
password:
string
Partition user password, if authentication info is embedded in the partition definition.
-
schemaName:
string
The name of the database schema (used as the repository database for federated partition).
-
serverName:
string
URL of the Essbase server, ending in
essbase/agent
. -
userName:
string
Partition user name, if authentication info is embedded in the partition definition.
object
-
slices:
array slices
Optional slice definition defining source and target member mappings. Essbase uses this information to determine how to put data into the target if the target and the source use different names for some members and dimensions.
-
sourceArea:
string
Partition source area/region, with optional list of slices containing specific member mappings.
-
sourceCellCount:
integer(int64)
Cell count of the partition source area. The source and target areas of a transparent or replicated partition should contain the same number of cells. Cell count does not include the cells of attribute dimensions.
-
targetArea:
string
Partition target area/region, with optional list of slices containing specific member mappings.
-
targetCellCount:
integer(int64)
Cell count of the partition target area. The source and target areas of a transparent or replicated partition should contain the same number of cells. Cell count does not include the cells of attribute dimensions.
array
Optional slice definition defining source and target member mappings. Essbase uses this information to determine how to put data into the target if the target and the source use different names for some members and dimensions.
object
-
sourceMember:
string
A member name on the partition source to map to a congruent region on the target.
-
targetMember:
string
A member name on the partition target to map to a congruent region on the source.
object
For federated Essbase cube, map dimensions or members to columns in the fact table.
array
-
Array of:
object EsbToColMapInfo
For federated Essbase cube, map dimensions or members to columns in the fact table.
object
For federated Essbase cube, map dimensions or members to columns in the fact table.
-
columnName:
string
Column name in external fact table.
-
essbaseName:
string
Essbase dimension or member name.
object
-
added:
boolean
Set to true for a new dimension that does not yet exist in the outline. If true, the new dimension will be created during the dimension build. If false, dimension build will fail for a new dimension.
-
addMemberOption:
string
Allowed Values:
[ "GENERATION", "SIBLING_LOWEST_LEVEL", "CHILD", "SIBLING_MATCHING_STRING", "LEVEL", "PARENT_CHILD", "GEN_NULLS", "LEVEL_NULLS" ]
The build method algorithm to add, change, or remove dimensions, members, and aliases in this dimension. Should be based on the properties of the source data; for example, if each record specifies a parent and later a child member, in that order, then PARENT_CHILD is a good method.
-
aggregateLevelUsage:
integer(int32)
-
allowassociationChanges:
boolean
-
allowFormulaChanges:
boolean
-
allowMoves:
string
Allowed Values:
[ "NOTOK", "OK", "IGNORE", "GEN2", "NOTGEN2" ]
Set to OK to allow moving of members and their children to new parents, allowing Essbase to recognize primary members and match them with the source data. Not available for duplicate member outlines. Leave as NOTOK if updateOption =
RESET_DIMENSION
. -
allowPropertyChanges:
boolean
-
allowUDAChanges:
boolean
-
attributeOptions:
object AttributeOptions
- autoFixSharedMember: boolean
-
configOption:
string
Allowed Values:
[ "EXISTING", "DENSE", "SPARSE" ]
-
createAttributeMembers:
boolean
Set to true to allow Essbase to create attribute members. If false, prevents Essbase from creating attribute members.
-
dimensionSolveOrder:
integer(int32)
Solve order of the dimension.
-
flexible:
boolean
-
generations:
array generations
-
hierarchyType:
string
Allowed Values:
[ "EXISTING", "MULTIPLE", "STORED", "DYNAMIC" ]
MULTIPLE if multiple hierarchies should be enabled in this dimension (applicable to aggregate storage cube only). EXISTING to keep the setting unchanged. STORED for aggregate storage stored hierarchy type (no formulas). DYNAMIC for aggregate storage hierarchy type that aggregates using formulas (includes Accounts dimension).
-
incrementalSort:
boolean
Set to true to sort members after Essbase has processed and added all members from the source data.
-
levels:
array levels
-
measureOptions:
object MeasureOptions
Load rule definition properties relating primarily to the Accounts dimension.
-
memberName:
string
Parent member name under which to add children. Used with Add as child of build method.
-
name:
string
- share: boolean
-
solveOrder:
integer(int32)
Priority in which the dimension or member is calculated (0 to 127). Higher solve order means the member is calculated later. Members not assigned a solve order inherit it from their dimension.
-
sortOption:
string
Allowed Values:
[ "NONE", "ASCENDING", "DESCENDING" ]
Whether and how to sort this dimension's children in hierarchies: None (do not sort), ascending, or descending.
-
storageType:
string
Allowed Values:
[ "EXISTING", "STORE", "NEVER_SHARE", "LABEL_ONLY", "DYNAMIC_CALC_STORE", "DYNAMIC_CALC" ]
-
type:
string
Allowed Values:
[ "EXISTING", "NONE", "ACCOUNTS", "TIME", "COUNTRY", "ATTRIBUTES" ]
-
unique:
string
Allowed Values:
[ "EXISTING", "UNIQUE", "DUPLICATE", "NONE" ]
-
updateOption:
string
Allowed Values:
[ "MERGE", "REMOVE_UNSPECIFIED", "RESET_DIMENSION" ]
Incremental dimension build update option. Incremental dimension building is the process of updating existing dimensions by adding, moving, deleting, and reordering members. MERGE (the default) adds new members while retaining existing members. REMOVE_UNSPECIFIED removes members that are not specified in the source (available only when addMemberOption =
GENERATION
,LEVEL
, orPARENT_CHILD
). Outlines are invalid if removing members results in level 0 Dynamic Calc members without formulas. RESET_DIMENSION is available only for Index-based rules (i.e. studio =true
). Reset Dimension rebuilds the entire dimension. This option enables insert, reorder, move, and delete operations during incremental dimension build, persisting member placement in the hierarchy instead of moving them to the end. To use Reset Dimension, allowMoves should beNOTOK
; otherwise, you cannot build shared hierarchies.
object
-
baseDimension:
string
-
indepDimensions:
array indepDimensions
-
modified:
boolean
-
scaassociationMode:
string
Allowed Values:
[ "NOOVERWRITE", "OVERWRITE" ]
-
scadisAssociationMode:
string
Allowed Values:
[ "NOOVERWRITE", "OVERWRITE", "EXTEND" ]
-
type:
string
Allowed Values:
[ "NUMERIC", "BOOLEAN", "TEXT", "DATE", "EXISTING" ]
object
Load rule definition properties relating primarily to the Accounts dimension.
-
currencyCategory:
string
If the dimension is associated with a currency conversion application, the currency category. This is an Accounts member from the currency cube. Example: P&L.
-
currencyConversion:
string
Allowed Values:
[ "EXISTING", "NONE", "CATEGORY", "NO_CONVERSION" ]
Currency conversion action to take during the dimension build. Mark any members that should not be currency-converted as NO_CONVERSION. NONE does not indicate no conversion; rather, it indicates that the conversion category is unspecified (thus inherited).
-
currencyName:
string
If the dimension is associated with a currency conversion application, the currency name. This is a Country dimension type member from the currency cube. Examples: USD, CND, GPB, EUR
-
skip:
string
Allowed Values:
[ "NONE", "NA", "MISSING", "ZERO", "MISSING_ZERO" ]
If you set the timeBalanceOption as FIRST, LAST, or AVERAGE, then use the skip property to indicate how to calculate the parent value when missing- or zero-values are encountered. NONE: Does not skip data when calculating parent value. MISSING: Skips #MISSING data. ZERO: Skips data that equals zero. MISSING_ZERO: Skips #MISSING data and data that equals zero.
-
timeBalanceOption:
string
Allowed Values:
[ "EXISTING", "NONE", "FIRST", "LAST", "AVERAGE" ]
The time balance property, if used. By default, a parent in the time dimension is calculated based on the consolidation and formulas of its children. For example, in the Sample.Basic database, the Qtr1 member is the sum of its children (Jan, Feb, and Mar). However, setting a time balance property causes parents, for example Qtr1, to roll up differently.
-
twoPass:
boolean
True to mark the dimension as using two-pass calculation.
-
varianceReporting:
string
Allowed Values:
[ "EXISTING", "NON_EXPENSE", "EXPENSE" ]
Whether to treat accounts members as expense items. EXISTING to keep the current setting.
object
-
name:
string
-
type:
string
Allowed Values:
[ "CONTINUOUS", "DISCRETE" ]
400 Response
Bad Request
Failed to get partition results.
500 Response
Internal Server Error.
Examples
The following example shows how to get partitions defined on the current 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 to get Transparent Partitions
call properties.bat
curl -X GET "https://myserver.example.com:9001/essbase/rest/v1/applications/SampTgt/databases/Basic/partitions?type=TRANSPARENT&links=none" -H "accept: application/json" -o output_partition_get.json -u %User%:%Password%
Example of Response Body (for a Transparent Partition target cube)
{
"items": [
{
"type": "TRANSPARENT",
"isNew": false,
"updatable": false,
"locked": false,
"federatedTypeCR": false,
"federatedTypeAV": false,
"sourceInfo": {
"connectionName": "",
"serverName": "https://myserver.example.com:9001/essbase/agent",
"alterCredentials": false,
"applicationLevelConnection": false,
"applicationLevelDatasource": false,
"applicationName": "SampSrc",
"databaseName": "Basic"
},
"targetInfo": {
"serverName": "https://myserver.example.com:9001/essbase/agent",
"alterCredentials": false,
"applicationLevelConnection": false,
"applicationLevelDatasource": false,
"applicationName": "SampTgt",
"databaseName": "Basic"
},
"areas": [
{
"sourceArea": "@idesc(\"100\")",
"sourceCellCount": 0,
"targetArea": "@idesc(\"100\")",
"targetCellCount": 0,
"slices": [
{
"sourceMember": "\"100-10\"",
"targetMember": "\"555-55\""
}
]
}
],
"mappings": [ ],
"links": [ ],
"totalResults": 1,
"limit": 1,
"count": 1
}
Script with cURL Command to get Federated Partition
call properties.bat
curl -X GET "https://192.0.2.1:443/essbase/rest/v1/applications/Sample/databases/Basic/partitions?type=FEDERATED&links=none" -H "accept: application/json" -o output_partition_get.json -u %User%:%Password%
Example of Response Body (for a Federated Partition cube)
{
"items": [
{
"type": "FEDERATED",
"isNew": false,
"updatable": false,
"locked": false,
"federatedTypeCR": false,
"federatedTypeAV": true,
"sourceInfo": {
"connectionName": "conn",
"userName": "admin",
"alterCredentials": false,
"applicationLevelConnection": true,
"applicationLevelDatasource": false,
"measuresDimensionName": "Measures",
"essbaseToColumnMap": {
"arr": []
},
"essbaseToDataSourceMap": {
"dimensions": [
{
"avDimensionId": 0,
"isMeasureMember": false,
"isAttribute": false,
"dimensionName": "Year",
"generations": [
{
"generationNumber": 1,
"columnName": "YEAR"
}
]
},
{
"avDimensionId": 2,
"isMeasureMember": false,
"isAttribute": false,
"dimensionName": "Product",
"generations": [
{
"generationNumber": 1,
"columnName": "PRODUCT"
}
]
},
{
"avDimensionId": 3,
"isMeasureMember": false,
"isAttribute": false,
"dimensionName": "Market",
"generations": [
{
"generationNumber": 1,
"columnName": "MARKET"
}
]
},
{
"avDimensionId": 4,
"isMeasureMember": false,
"isAttribute": false,
"dimensionName": "Scenario",
"generations": [
{
"generationNumber": 1,
"columnName": "SCENARIO"
}
]
},
{
"avDimensionId": -1,
"isMeasureMember": true,
"isAttribute": false,
"dimensionName": "Additions",
"generations": [
{
"generationNumber": 3,
"columnName": "ADDITIONS"
}
]
},
{
"avDimensionId": -1,
"isMeasureMember": true,
"isAttribute": false,
"dimensionName": "COGS",
"generations": [
{
"generationNumber": 4,
"columnName": "COGS"
}
]
},
{
"avDimensionId": -1,
"isMeasureMember": true,
"isAttribute": false,
"dimensionName": "Ending Inventory",
"generations": [
{
"generationNumber": 3,
"columnName": "Ending Inventory"
}
]
},
{
"avDimensionId": -1,
"isMeasureMember": true,
"isAttribute": false,
"dimensionName": "Margin %",
"generations": [
{
"generationNumber": 3,
"columnName": "Margin %"
}
]
},
{
"avDimensionId": -1,
"isMeasureMember": true,
"isAttribute": false,
"dimensionName": "Marketing",
"generations": [
{
"generationNumber": 4,
"columnName": "MARKETING"
}
]
},
{
"avDimensionId": -1,
"isMeasureMember": true,
"isAttribute": false,
"dimensionName": "Misc",
"generations": [
{
"generationNumber": 4,
"columnName": "MISC"
}
]
},
{
"avDimensionId": -1,
"isMeasureMember": true,
"isAttribute": false,
"dimensionName": "Opening Inventory",
"generations": [
{
"generationNumber": 3,
"columnName": "Opening Inventory"
}
]
},
{
"avDimensionId": -1,
"isMeasureMember": true,
"isAttribute": false,
"dimensionName": "Payroll",
"generations": [
{
"generationNumber": 4,
"columnName": "PAYROLL"
}
]
},
{
"avDimensionId": -1,
"isMeasureMember": true,
"isAttribute": false,
"dimensionName": "Profit %",
"generations": [
{
"generationNumber": 3,
"columnName": "Profit %"
}
]
},
{
"avDimensionId": -1,
"isMeasureMember": true,
"isAttribute": false,
"dimensionName": "Sales",
"generations": [
{
"generationNumber": 4,
"columnName": "SALES"
}
]
}
]
},
"factTableName": "SAMPLE_FACT"
},
"targetInfo": {
"userName": "admin",
"alterCredentials": false,
"applicationLevelConnection": false,
"applicationLevelDatasource": false,
"applicationName": "Sample",
"databaseName": "Basic"
},
"areas": [
{
"sourceArea": "\"Additions\", \"COGS\", \"Ending Inventory\", \"Margin %\", \"Marketing\", \"Misc\", \"Opening Inventory\", \"Payroll\", \"Profit %\", \"Sales\"",
"sourceCellCount": 0,
"targetArea": "\"Additions\", \"COGS\", \"Ending Inventory\", \"Margin %\", \"Marketing\", \"Misc\", \"Opening Inventory\", \"Payroll\", \"Profit %\", \"Sales\"",
"targetCellCount": 0
}
],
"mappings": [ ],
"links": [ ]
}
],
"totalResults": 1,
"limit": 1,
"count": 1
}