/daily_plan/orders/copy
POST
Copy Orders
Parameters in the POST body schema
| Name | Type | Description | Example | Default |
|---|---|---|---|---|
controllerId |
required, string | Controller ID | myController | |
orderIds |
required; array[string] | Orders that are to be processed | ["#2020-09-15#P0000000046-myOrderName"] | |
scheduledFor |
optional, string | A start time in ISO format "yyyy-mm-dd[ HH:MM[:SS]]" or "now" or "now + HH:MM[:SS]" or "now + SECONDS" or "cur ± HH:MM[:SS]" or "cur ± SECONDS" is expected | now+10 | |
timeZone |
optional, string |
|
Europe/Berlin | Etc/UTC |
cycle |
optional, string | For cyclic orders the cycle will be defined with begin, end and repeat attribute. The values have to have the format hh:mm:ss |
{
"begin": "00:00:00",
"end": "20:00:00",
"repeat": "00:10:00"
} |
|
forceJobAdmission |
optional, boolean | If true then any admission times at a Job instruction will be ignored | false | |
stickDailyPlanDate |
optional, boolean | If true then the orders stick to their original Daily Plan date | 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. |
Request