Hi Briantist,
thanks for the fast answer. I understand the prefix codes now. Thanks you very much. But how can I calculate the Fares with NaptanIds from the Journey Endpoint? Do I have to convert the 910 to 940? Is fare calculation from 910… not possible?
However, the whole national rail ticketing system is a tangled mess of fares, that depends on time of date, route taken, day-of-week, if there is a return, your age and dizzing range of discount cards.
Having said that if you use the TfL SFF it can do London to London fares, so these should be possible because there are “pay as you go (contactless or Oyster) is accepted.”
Hi Ben, the 910 code will need to be used with one where’s a valid journey. i.e. you can’t do a valid journey between Paddington Rail station and Regent’s Park Underground station. For that, you need to use the 940 code for Paddington. Unfortunately the system is not geared to incorporate the interchange at the start or end of the journey.
As you can see if you make these calls, they return journeys where there’s a valid route.
However, the interchange is incorporated into the end-to-end calculation. For instance, if you interchange between tube and Elizabeth line at Paddington, this will return a fare: