Unlock Partition

post

/essbase/rest/v1/applications/{applicationName}/databases/{databaseName}/partitions/unlock

Unlocks the partition object. For non-federated partitions, both the source and target partition objects are unlocked.

For federated partitions, the Datasource name, measures dimension name, and optional application level Datasource are required.

For transparent and replicated partitions, the source server, source application, and source database are required.

Request

Path Parameters
Query Parameters
Back to Top

Response

Supported Media Types

204 Response

OK

Partition unlocked successfully.

400 Response

Bad Request

Failed to unlock partition.

500 Response

Internal Server Error.

Back to Top

Examples

The following example shows how to unlock a partition object.

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/essbase/rest/v1/applications/SampTgt/databases/Basic/partitions/unlock?type=TRANSPARENT&serverName=https%3A%2F%2Fmyserver.example.com%2Fessbase%2Fagent&applicationName=SampSrc&databaseName=Basic"
     -H  "accept: application/json"
     -u %User%:%Password%
Back to Top