VDVde / OJP

Open API for distributed journey planning. CEN/TS 17118:2017.
https://www.vdv.de/open-journey-planner.aspx
22 stars 12 forks source link

Improve TripFareResult #395

Closed ue71603 closed 1 year ago

ue71603 commented 1 year ago

Introduce TripId in TripFareResult. Allow for multiple LegRangeGroups in TripFareResult and better explanation of what can be done.

Fixing: https://github.com/VDVde/OJP/issues/394

ue71603 commented 1 year ago

An example covering such a case with a partial result and a FARE_ADDITIONALTICKETS warning would be nice, but not necessary. Otherwise fine for me.

I suggest to merge it @skinkie and I will add examples in a separate PR as soon as OJPFareNOVA does those with error messages. Those are then realworld examples: https://github.com/VDVde/OJP/issues/397