Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transfer Legs and local transport #407

Closed
ralfbayer-db opened this issue Dec 6, 2023 · 2 comments · Fixed by #430
Closed

Transfer Legs and local transport #407

ralfbayer-db opened this issue Dec 6, 2023 · 2 comments · Fixed by #430
Assignees
Labels
question Further information is requested
Milestone

Comments

@ralfbayer-db
Copy link
Collaborator

How would local transport with separate ticket (purchaseable locally) be modelled?

(e.g. Metro in Paris - Leg 1: Frankfurt-Paris, Leg 2: Metro from Gare de l'Est to Gare Montparnasse, Leg 3: Paris-Rennes)

(Note: when we send a Transfer Leg as part of the journey, we don't get an offer from Sqills S3)

I remember we previously had a flag somewhere in the offer response which said "ticket only available locally".

@ralfbayer-db ralfbayer-db added the question Further information is requested label Dec 6, 2023
@ralfbayer-db ralfbayer-db added this to the 3.2.0 milestone Dec 6, 2023
@ralfbayer-db ralfbayer-db self-assigned this Dec 6, 2023
@ralfbayer-db
Copy link
Collaborator Author

It seems, Sqills is not expecting transferLegs. If a transferLeg is part of a tripSpecification, no offers are returned.
One the hand, it is clear that a transfer is not priced. On the other hand, it is part of a trip.
That's why we have the following question:
How should we handle transferLegs in the tripSpecification for a offer request?
Should we include them, or not?

@ralfbayer-db
Copy link
Collaborator Author

Add to LegAttribute structure documentation that the attributes are actually the "Service Attributes" from the Catalog of Code Lists. --> Ralf to provide patch. The Metro case would have the attribute "BOOKING_ON_LOCAL_STATION_ONLY".

So, in some cases this is part of the trip information.

On the other hand, in some instances it depends on who makes the offer, so one distributor may return an offer for all legs, where another distributor may return an offer for legs 1 and 3 (where 2 is the Metro leg).

@ralfbayer-db ralfbayer-db linked a pull request Jan 5, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant