UpsertScheduleScenarioInput
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.
TypeID 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.
versionIntPlanner-assigned revision number. Must be at least 1; defaults to 1 when omitted.
Lifecycle status to store. Defaults to DRAFT when omitted.
GLOBAL (whole plant) or PARTIAL (one production cell). Defaults to GLOBAL when omitted.
TypeID of the production cell to confine the scenario to (prefix "pcl"). Required when scope is PARTIAL.
ISO-8601 timestamp at which the planning window opens. Omit for an unbounded horizon.
ISO-8601 timestamp at which the planning window closes. Must be strictly after planningHorizonStart when both are given.
View exact SDL
"""
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.
"""
input UpsertScheduleScenarioInput {
"""
TypeID 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.
"""
id: ScheduleScenarioID
"""Human-facing label for the scenario. Cannot be blank."""
name: String!
"""
Planner-assigned revision number. Must be at least 1; defaults to 1 when omitted.
"""
version: Int
"""Lifecycle status to store. Defaults to DRAFT when omitted."""
status: ScheduleStatus
"""
GLOBAL (whole plant) or PARTIAL (one production cell). Defaults to GLOBAL when omitted.
"""
scope: ScheduleScope
"""
TypeID of the production cell to confine the scenario to (prefix "pcl"). Required when scope is PARTIAL.
"""
targetProductionCellId: ProductionCellID
"""
ISO-8601 timestamp at which the planning window opens. Omit for an unbounded horizon.
"""
planningHorizonStart: ISO8601
"""
ISO-8601 timestamp at which the planning window closes. Must be strictly after planningHorizonStart when both are given.
"""
planningHorizonEnd: ISO8601
}One stable address across all schema views. Follow a field’s type to explore connections between domains.