Open bergmannjg opened 2 years ago
Thanks for bringing this up.
In a db profile journey response the matchId in prodCtx seems to correspond to the railway network linenumber (Liniennummer) .
Are there cases where matchId
doesn't match the Liniennummer? Can you check local buses, trams, subway, ferries, etc. in some regions?
If matchId
in fact turns out to (almost) always mean Liniennumber, I agree that we should let the DB profile expose it. In this case, having a more descriptive field name (e.g. liniennummer
or lineName
) would be more appropriate though IMO.
Some journey results with different products
profile db
profile bvg
The line.name or line.fahrtnr conceptually only differs from line.matchid (or linenumber) for products nationalExpress or national.
In a db profile journey response the matchId in prodCtx seems to correspond to the railway network linenumber (Liniennummer) .
Can you please add the matchId to the FPTF operator object.
Here are 2 examples of the prodL parts of a journey response.