Refresh Job Lock
Refreshes the job lock for editing if the editing takes more than 15 s. Refer to Creating/Editing a Job.
Endpoint
https://<Director_IP_address>:4443/c/router
Request Example
curl --request POST \
--url https://<Director_IP_address>:4443/c/router \
--header "content-type: application/json" \
--cookie @cookies.txt \
--data "{
"action": "JobManagement",
"method": "refreshExclusiveLock",
"data": [
"91f363a5-8f32-4cc9-9270-bac6a3b38d79",
7],
"type": "rpc",
"tid": 1}"
Request Fields
Field
|
Type
|
Value(s)
|
Description |
---|---|---|---|
|
string |
|
The action that is invoked |
|
string |
|
The method that is invoked |
|
array |
|
Lock data. See the |
|
string |
|
Type of communication protocol |
|
int |
|
Transaction ID. Used to identify the request by both the client and the server |
data
Field
|
Type
|
Description
|
---|---|---|
|
string |
Lock uuID |
|
int |
Job ID |
Response Sample
{
"action": "JobManagement",
"method": "refreshExclusiveLock",
"tid": "1",
"type": "rpc",
"message": null,
"where": null,
"cause": null,
"data": "4ba3e860-d916-4d6b-ba4d-2131dfe80b76"
}
Response Fields
Field
|
Value
|
Description
|
---|---|---|
|
string |
Message if the request failed |
|
string |
Reference to the method where a problem occurred |
|
string |
Cause of failure |
|
string |
Lock uuID |