View the Lock of a Party

Use the following details to view the Lock of a Party using the REST interface:

HTTP Method

GET

Endpoint URL

See the REST Service Endpoint topic for more details.

Resource

/restapi/v1/party/{id}/lock/{key}

Request Parameters

Provide values for the following parameters:

Parameter Name Data Type Mandatory
id string Yes
key string Yes

Request Model

Media Type: application/json

Response Model

{
  "result": {
    "code": {
      "severity": "Success",
      "message": "Success.",
      "code": "0000"
    },
    "params": [],
    "message": "Success."
  },
  "data": {
    "current": true,
    "timeout": 0,
    "key": "string",
    "createdBy": "admin",
    "createdOn": "2022-08-05T10:33:11.447+0000",
    "priority": 0
  },
  "startTimestampMS": 1659695898037,
  "duration": 84
}