JOC API

Version 2.2.0

Download RAML
JOC API
/daily_plan/orders
POST

Gets orders from the daily plan


Parameters in the POST body schema

Name Type Description Example Default
controllerId required, string Controller ID myController
filter required Specifies the elements to filter the orders that should be considered. All filter elements will be combined with "and". The values of the schedulePaths, folders, workflowPaths elements will be combined with "or". The filter elements are
  • dailyPlanDate
  • schedulePaths
  • scheduleFolders
  • workflowPaths
  • workflowFolders
  • late
  • states
  • 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
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 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"]