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

    Variable getGetBulkSimilarJourneysUrlConst

    getGetBulkSimilarJourneysUrl: () => string

    For each booking reference provided, identifies journeys from other bookings of the same customer that conflict (overlap) in time with each journey in that booking.

    Two journeys conflict when their time ranges overlap: candidate.scheduled_departure <= journey.scheduled_arrival AND candidate.scheduled_arrival >= journey.scheduled_departure

    Cancelled and completed journeys are excluded from conflict results. Two input bookings for the same customer may appear as conflicts against each other.

    Type Declaration

      • (): string
      • Returns string