/daily_plan/orders/modify
POST
Modifies Orders for the daily plan
Parameters in the POST body schema
Name | Type | Description | Example | Default |
---|---|---|---|---|
controllerId |
required, string | Controller ID | myController | |
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 "never" 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 | |
variables |
optional, object | An object with key-value pairs for the order. The value can be a string, number or boolean. The variables that already exist will be updated with the new values. The variables that do not exist will be added. To remove variables use the removeVariables array. |
"variables":{ "myString": "stringValue", "myNumber": 3.14, "myBoolean": true } |
|
removeVariables |
optional, object | An object with key-value pairs for the order. The value can be a string, number or boolean. The given Variables will be removed. |
"removeVariables":{ "myString": "stringValue", "myNumber": 3.14, "myBoolean": true } |
|
orderIds |
optional; array[string] | Filters all orders in the given daily plan that have one of the order IDs in the given list of orderIds. | ["#2020-09-15#P0000000046-myOrderName"] | |
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. |
Request