JOC API

Version 2.6.5

Download RAML
JOC API
/daily_plan/orders/generate
POST

Generates orders for a given daily plan


Parameters in the POST body schema

Name Type Description Example Default
controllerId required, string Controller ID myController
dailyPlanDate required, string The value has to have the format YYYY-MM-DD
The day of the daily plan. Depends on the settings for daily plan timezone and daily plan period.
2020-12-31
schedulePaths optional, object Generate orders for the given daily plan based on the schedules located in the given folder(s) or based on the selected single schedule(s). {
"folders":[{"folder":"/sos","recursive":true}],
"singles":["/custom/custom_shedule"]
}
workflowPaths optional, object Generate orders for the given daily plan based on the schedules that are assigned to the workflows located in the given folder(s) or based on the selected single workflow(s). {
"folders":[{"folder":"/sos","recursive":true}],
"singles":["/custom/custom_workflow"]
}
overwrite optional, boolean if true, overwrite existing orders (same workflow, same start time, same schedule name). Any variables will be overwritten.
if false, existing orders will not be overwritten.
false
withSubmit optional, boolean if true, the orders will be submitted to the Controller.
if false, the order will be planned and not submitted to the Controller
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.