JOC API

Version 2.2.0

Download RAML
JOC API
/daily_plan/orders/delete
POST

Deletes planned orders for a given daily plan


Parameters in the POST body schema

Name Type Description Example Default
controllerId required, string Controller ID myController
filter required Specify the filters elements to filter the orders that should be considered. All filter elements will be combined with "and". The elements in the lists schedulePaths, folders, workflowPaths, states will be combined with "or" The filter elements are
  • dailyPlanDate
  • schedulePaths
  • folders
  • workflowPaths
  • late
  • submissionHistoryIds
  • orderIds
  • controllerIds
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; array[string] Filters all orders in the given daily plan that have been generated with one of the given schedules in schedulePaths. ["/path/mySchedule"]
scheduleFolders optional; array[scheduleFolder] Filters all orders in the given daily plan that have been generated with a schedule located in one of the given folders. Depending on the value for "recursive" in one of the subfolders recursively too. [{
"folder": "/sos",
"recursive": true
}]
workflowFolders optional; array[workflowFolder] Filters all orders in the given daily plan that have been generated with a schedule assigned to a workflow located in one of the given folders. Depending on the value for "recursive" in one of the subfolders recursively too. [{
"folder": "/sos",
"recursive": true
}]
workflowPaths optional; array[string] Filters all orders in the given daily plan that are assigned to one of the given workflows in workflowPaths. [/path/to/workflow]
late optional, boolean If true filters all orders that are late. Late means that the current time is after the planned time+2 minutes. false
submissionHistoryIds optional,array Filters all orders in the given daily plan that have been generated by one of the given submissions. To retrieve submissionHistoryIds call /dailyplan/submissions. A submission can be manually executed or the automatically executed by the daily plan service. [4711]
controllerIds optional; array[string] Filters orders that have been generated for the Controller IDs that are in the list controllerIds ["myControllerId"]
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.