We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Ran into an error response when retrieving journey details:
curl -v http://open-api.bahn.de/bin/rest.exe/departureBoard\?authKey\=xxx\&format\=json\&lang\=de\&id\=008000105\&date\=2016-04-06\&time\=12:00
gave me
"DepartureBoard":{ "noNamespaceSchemaLocation":"http://open-api.bahn.de/bin/rest.exe/v1.0/xsd?name=hafasRestDepartureBoard.xsd", "Departure":[{ "name":"ICE 73", "type":"ICE", "stopid":"8000105", "stop":"Frankfurt(Main)Hbf", "time":"12:05", "date":"2016-04-06", "direction":"Zürich HB", "track":"6", "JourneyDetailRef":{ "ref":"http://open-api.bahn.de/bin/rest.exe/v1.0/journeyDetail?ref=215268%2F77387%2F621882%2F239185%2F80%3Fdate%3D2016-04-06%26station_evaId%3D8000105%26station_type%3Ddep%26authKey%3Dxxx%26lang%3Dde%26format%3Djson%26" } //....
http://open-api.bahn.de/bin/rest.exe/v1.0/journeyDetail?ref=215268%2F77387%2F621882%2F239185%2F80%3Fdate%3D2016-04-06%26station_evaId%3D8000105%26station_type%3Ddep%26authKey%3Dxxx%26lang%3Dde%26format%3Djson%26
{"Error":{"type":"PARSER","code":"2"}}
The text was updated successfully, but these errors were encountered:
Can no longer reproduced, JourneyDetailRef links in the response seem to be OK:
JourneyDetailRef
http://open-api.bahn.de/bin/rest.exe/departureBoard?authKey=<KEY>&lang=de&id=008000105&date=2016-04-06&time=12%3a00&format=json
I think these JourneyDetailRef links expire after some time, maybe that was the cause. Are you sure the URL was correctly formed?
Sorry, something went wrong.
No branches or pull requests
Ran into an error response when retrieving journey details:
gave me
The text was updated successfully, but these errors were encountered: