Skip to content

UpsertScheduleScenarioInput ​

Type: Input

Input for creating or overwriting a schedule scenario by id. Unlike updateScheduleScenario this is a full replacement: omitted optional fields fall back to their defaults rather than keeping their current values, and createdByUserId is re-stamped from the caller.

Fields ​

NameTypeDefaultDescription
idScheduleScenarioIDTypeID of the scenario to overwrite (prefix "sch"). Omit to create a new one with a server-generated id. An id in another tenant is reported as not found.
nameString!Human-facing label for the scenario. Cannot be blank.
planningHorizonEndISO8601ISO-8601 timestamp at which the planning window closes. Must be strictly after planningHorizonStart when both are given.
planningHorizonStartISO8601ISO-8601 timestamp at which the planning window opens. Omit for an unbounded horizon.
scopeScheduleScopeGLOBAL (whole plant) or PARTIAL (one production cell). Defaults to GLOBAL when omitted.
statusScheduleStatusLifecycle status to store. Defaults to DRAFT when omitted.
targetProductionCellIdProductionCellIDTypeID of the production cell to confine the scenario to (prefix "pcl"). Required when scope is PARTIAL.
versionIntPlanner-assigned revision number. Must be at least 1; defaults to 1 when omitted.

Connect machines, automate workflows, and build custom apps for print production.