Add Resource Lock
This endpoint adds a lock on the provided resource.
1 | |
Input Parameters
This endpoint requires a JSON body be posted.
| JSON Prop | Type | Required | Description |
|---|---|---|---|
| resourceId | int | Required | Resource Id, on which lock has to set |
| resourceType | ResourceType | Required | Type of the resouce |
| createdBy | string | Required | Name of the user who is creating the lock |
Output
This endpoint returns an HTTP response indicating success (201) with lockid or failure (500).
Example
Request
1 | |
1 2 3 4 5 | |
Response
1 2 3 | |