JOC API

Version 2.6.5

Download RAML
JOC API
/inventory/workflows/update
POST

Updates workflows from job templates


Parameters in the POST body schema

Name Type Description Example Default
workflowPaths optional, array[string] Paths or names of workflows. The parameter folder is ignored if this parameter is defined. [
"/sos/myWorkflow",
"/sos/myWorkflow2"
]
folder required, string Absolute path of a folder
recursive optional, boolean reads folder recursive false
overwriteNotification optional, boolean If true than the notification of the job template overwrites the notication of the job false
overwriteAdmissionTime optional, boolean If true than admission time of the job template overwrites the admission time of the job false
overwriteValues optional, boolean If true than the argument values of the job template overwrites the argument values of the job false
propagateOptionalArguments optional, boolean If true then all arguments will be propagate otherwise only the required arguments false
auditLog optional, object Object that contains comment, timeSpent and ticketLink.
{
  "comment": "Operational requirement!",
  "timeSpent": 2
}
comment optional, string Field in auditLog to comment this action, e.g. the reason.
timeSpent optional, integer Field in auditLog to enter the time spent in minutes.
ticketLink optional, string Field in auditLog to enter a link to a corresponding ticket.