Unlock Object

post

/essbase/rest/v1/applications/{applicationName}/databases/{databaseName}/locks/objects/unlock

Unlocks the object in the specified application and database.

Request

Supported Media Types
Path Parameters
Body ()

Details about object to be unlocked.

Root Schema : LockObject
Type: object
Show Source
Back to Top

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.

Back to Top

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
Back to Top