@transreport/pauk-common-api
    Preparing search index...

    Interface UjpRoutingOptions

    Station lists are unordered sets; every constraint applies. Empty lists and omitted operator_code impose no constraint. Conflicting or unsupported filters return 422.

    interface UjpRoutingOptions {
        change_time?: UjpRoutingOptionsChangeTime;
        direct_trains?: boolean;
        excluded_interchanges?: PlanningStationRef[];
        fastest_trains?: boolean;
        interchanges?: PlanningStationRef[];
        not_via?: PlanningStationRef[];
        operator_code?: string;
        realtime_enquiry?: UjpRoutingOptionsRealtimeEnquiry;
        via?: PlanningStationRef[];
    }
    Index

    Extra minutes added to the minimum connection time.

    direct_trains?: boolean

    Direct services only.

    excluded_interchanges?: PlanningStationRef[]

    Avoid changing here; passing through is allowed.

    fastest_trains?: boolean

    Exclude services overtaken by faster alternatives.

    interchanges?: PlanningStationRef[]

    Change services at every listed station.

    not_via?: PlanningStationRef[]

    Avoid these stations.

    operator_code?: string

    Filter to this National Rail operator.

    ^[A-Z0-9]{2}$

    Use the standard search or check realtime alternatives.

    Travel via every listed station; no interchange required.