JOC API

Version 2.0.0

Download RAML
JOC API
/orders/resume
POST

Resume orders when suspended or failed


Parameters in the POST body schema


Name Type Description Example Default
controllerId required, string Controller ID myController
orderIds required, array Specified the order ids which should be modified. [
"daily"
]
position optional, array [2, "then", 0]
variables optional, object Variables can only be set for resumimg a single order that position is not at the beginning of its workflow's scope.
Otherwise an error is raised.
It change the returned variables of the previous jobs.
An object with key-value pairs. The value can be a string, number or boolean

"variables": {
      "myString": "stringValue",
      "myNumber": 3.14,
      "myBoolean": true
    }
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. 5
ticketLink optional, string Field in auditLog to enter a link to a corresponding ticket.