JOC API

Version 1.12.9

http(s)://test.sos-berlin.com:3001/joc/api

Download RAML
JOC API
/jobs/set_run_time
POST

Set the run time of jobs

The run time is only changed in the JobScheduler memory.
After a JobScheduler restart the changes are reset.


Parameters in the POST body schema

Name Type Description Example Default
jobschedulerId required, string JobScheduler Master ID scheduler
jobs required, array Specified the jobs which should be modified. [{
"job":"/sos/reporting/Inventory"
}]
runTime optional, string
field of each jobs item
run time in xml format
calendars optional, array
field of each jobs item
calendars which are assigned to the job
auditLog optional, object Object which contains comment, timeSpent and ticketLink. {
"comment":"It was not really necessary!",
"timeSpent":2
}
comment optional, string Field in auditLog to comment this action, e.g. the reason.
timeSpent optional, string Field in auditLog to enter the time spent in minutes. 5
ticketLink optional, string Field in auditLog to enter a link to a corresponding ticket.