重新整理工作鎖定
產品版本:10.11
最後修改日期:2024年7月31日
若編輯時間超過 15 秒,則會重新設定編輯的「工作鎖定」。請參閱「建立/編輯工作」。
終點
https://<Director_IP_address>:4443/c/router
請求範例
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,
false],
"type": "rpc",
"tid": 1}'
請求欄位
|
領域
|
類型
|
值(們)
|
Description |
|---|---|---|---|
|
|
字串 |
|
所呼叫的動作 |
|
|
字串 |
|
被呼叫的方法 |
|
|
陣列 |
|
鎖定資料。請參閱 |
|
|
字串 |
|
通訊協定類型 |
|
|
int |
|
交易編號。用於讓客戶端和伺服器雙方識別該請求 |
資料
|
領域
|
類型
|
Description
|
|---|---|---|
|
|
字串 |
鎖定 UUID |
|
|
長 |
工作編號 |
|
|
布林值 |
true 如果該工作正在執行; false 否則。必填,不可為 null |
回應範例
{
"action": "JobManagement",
"method": "refreshExclusiveLock",
"tid": "1",
"type": "rpc",
"message": null,
"where": null,
"cause": null,
"data": "4ba3e860-d916-4d6b-ba4d-2131dfe80b76"
}
回應欄位
|
領域
|
價值
|
Description
|
|---|---|---|
|
|
字串 |
若請求失敗,請顯示此訊息 |
|
|
字串 |
提及發生問題的方法 |
|
|
字串 |
故障原因 |
|
|
字串 |
鎖定 UUID |