Hi!
Can I somehow set a reason when killing jobs using POST http://mycommcell.com/webconsole/api/Job/123456/action/kill request?
Hi!
Can I somehow set a reason when killing jobs using POST http://mycommcell.com/webconsole/api/Job/123456/action/kill request?
Best answer by NikkyArt
additionals,
u can use POST request “MultiJob Operation” to set value “operationDescription” displayed in “Reason for job delay”
example
curl --location 'http://{hostname}}/webconsole/api/Jobs/MultiJobOperation' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authtoken: QSDK {token}} \
--data '{
"operationDescription": "Test Job KILL",
"message": " ALL_SELECTED_JOBS",
"jobOpReq": {
"operationType": "JOB_KILL",
"jobs": [
{
"jobId": {jobid}
}
]
}
}'
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.