TRIP

Question

What are the possible parameters

Answer

Parameter
via via (getrennt durch ";") viaId|waittime|viastatus|products
  • viaId: id of the via, mandatory
  • waittime: waiting time spent at via station in minutes, optional
  • viastatus: one of EXR (boarding and alighting nececessary), NER (boarding not necessary), NXR (alighting not necessary), NEXR (boarding and alighting not necessary), optional but defaults to EXR
  • products: products used at the via, optional
  • Example 1: Just define three vias to be passed by extId: via=801234;801235;801236
  • Example 2: Two vias having a wait time of 10 and 20 minutes: via=801234|10;801235|20
  • Example 3: One via without waittime but NEXR: via=801234|| NEXR

location

Question
How to use the parameter name:

answer

The "Name" parameter can be used to specify a
  • station name
  • physical address.
  • The parameter must be HTML Encoded. If a "?" is added after the search string, the search will be broader and there are more search results.

Question
Which additional parameters still exist

answer

with these two parameters the parameter "name" can be specified more precisely. They do not override *name".
parameter
maxNo Maximum of the returned stop axis
coordLong longitude of centre coordinate
CoordLat atitude of centre coordinate

Offers

Welche Parameter sind wichtig:
Antwort
Parameter passenger muss zwingend korrekt gefüllt sein: The passengers id, age and reduction {none, half-fare, ga-1st, ga-2nd}.

paxa;42;half-fare