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

    Type Alias PlanJourneyV2Body

    PlanJourneyV2Body: unknown & {
        destination: string;
        inward_time?: PlanJourneyV2BodyInwardTime;
        origin: string;
        outward_time?: PlanJourneyV2BodyOutwardTime;
        return_via?: string | null;
        routes?: PlanJourneyV2BodyRoutesItem[];
        with_calling_points?: boolean;
    }

    Type Declaration

    • destination: string

      Destination station CRS code

    • Optionalinward_time?: PlanJourneyV2BodyInwardTime

      Optional inward search time

    • origin: string

      Origin station CRS code

    • Optionaloutward_time?: PlanJourneyV2BodyOutwardTime

      Outward search time

    • Optionalreturn_via?: string | null

      CRS code to route return journeys via

    • Optionalroutes?: PlanJourneyV2BodyRoutesItem[]

      Additional route constraints

    • Optionalwith_calling_points?: boolean

      Whether to include calling points