JOC API

Version 2.6.5

Download RAML
JOC API
/daily_plan/orders
POST

Gets orders from a daily plan interval


Parameters in the POST body schema




Name Type Description Example Default
Following elements filter the orders that should be considered.
All filter elements will be combined with "and".
The elements in the lists schedulePaths, scheduleFolders, workflowPaths, workflowFolders and controllerIds will be combined with "or".
dailyPlanDateFrom required, string The value has to have the format YYYY-MM-DD
The begin of the day range of the daily plan. Depends on the settings for daily plan timezone and daily plan period.
2020-12-31
dailyPlanDateTo optional, string The value has to have the format YYYY-MM-DD
The end of the day range of the daily plan. Depends on the settings for daily plan timezone and daily plan period.
If only one day of the daily plan is desired than specify dailyPlanDateFrom == dailyPlanDateTo
2020-12-31
schedulePaths optional, array[string] Filters all orders in the given daily plan range that have been generated with one of the given schedules in schedulePaths. ["/path/mySchedule"]
scheduleFolders optional, array[object] Filters all orders in the given daily plan range 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
}]
workflowPaths optional, array[string] Filters all orders in the given daily plan range that are assigned to one of the given workflows in workflowPaths. ["/path/to/workflow"]
workflowFolders optional, array[object] Filters all orders in the given daily plan range 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
}]
tags optional, array[string] Tags to be assigned to the workflow
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"]
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
states optional, array[string] Filters all orders that have one of the states specified in this list of states. Possible values are:
  • PLANNED
  • SUBMITTED
  • FINISHED
["PLANNED","FINISHED"]
submissionHistoryIds optional, array[integer] Filters all orders in the given daily plan range 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]