View the Lock of an Item
Use the following details to view the Lock of an Item using the REST interface:
HTTP Method
GET
Endpoint URL
See the REST Service Endpoint topic for more details.
Resource
/restapi/v1/item/{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": "655176e8-47cc-4aa7-a0ef-ef2a153d6cab", "createdBy": "admin", "createdOn": "2022-08-04T04:58:05.100+0000", "priority": 5 }, "startTimestampMS": 1659706571028, "duration": 82 }