Skip to main content

Define the weekly schedule of a lane (DefineLaneSchedule)

POST 

/lane-schedules

Creates the ACTIVE weekly template of one lane, or replaces the slots of an ACTIVE template (201 on creation, 200 on replacement; a redefinition takes effect from the next horizon roll, departures that were already generated stay). The lane must be known (LaneView). Slots must not overlap on the same weekday (overlapping-slots). A RETIRED schedule cannot be redefined (illegal-transition). Raises no event. Departures are generated by GenerateDepartures (policy HorizonRoll).

Request​

Responses​

Slots of an ACTIVE schedule replaced.

Response Headers
    Idempotency-Replayed

    Present, with the value true, only on a response replayed from a stored first answer (a 2xx or a refusal that is final for the request; a 5xx and a refusal that depends on state another request can change are never stored).