Unlock Object
/essbase/rest/v1/applications/{applicationName}/databases/{databaseName}/locks/objects/unlock
Unlocks the object in the specified application and database.
Request
- application/json
-
applicationName(required): string
Application name.
-
databaseName(required): string
Database name.
Details about object to be unlocked.
object
-
links:
array links
-
name:
string
-
time:
integer(int64)
-
type:
string
Allowed Values:
[ "OUTLINE", "CALCSCRIPT", "REPORT", "RULES", "ALIAS", "STRUCTURE", "ASCBACKUP", "BINBACKUP", "EXCEL", "XLSX", "XLSM", "MAXL", "ZIP", "CSV", "LOTUS2", "LOTUS3", "TEXT", "LOTUS4", "WIZARD", "PARTITION", "SELECTION", "LRO", "EQD", "XML", "JAVA_CDF", "MAX", "BACKUP", "WORKSHEET", "DATA", "ERROR", "OUT", "GROOVY", "DRILLTHROUGH", "ALL", "MDX" ]
-
user:
string
Response
204 Response
OK
Object unlocked successfully.
400 Response
Bad Request
Failed to unlock the object. The application, database, or object name may be incorrect, or the object type may be incorrect.
415 Response
Not Acceptable
The media type isn't supported or wasn't specified.
500 Response
Internal Server Error.
Examples
The following example shows how to unlock objects in an Essbase cube. Requires Database Manager permission or higher.
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 POST "https://myserver.example.com:9001/essbase/rest/v1/applications/Sample/databases/Basic/locks/objects/unlock" -H "accept: application/json" -H "Content-Type: application/json" -d '{"type": "OUTLINE", "name": "Basic"},{"type": "CALCSCRIPT", "name": "CalcAll"}' -u %User%:%Password%
Type of Objects You Can Unlock
The following types of cube objects can be locked and unlocked.
- OUTLINE
- CALCSCRIPT
- REPORT
- RULES
- ALIAS
- STRUCTURE
- EXCEL
- TEXT
- PARTITION
- SELECTION
- LRO
- XML
- JAVA_CDF
- BACKUP
- MAXL
- WORKSHEET
- DATA
- ALL
- XLSX
- XLSM