[iRail] problem getting train info for IC number

Brecht Van de Vyvere brecht at irail.be
Tue Sep 22 10:17:14 UTC 2015


Hi Tim

This is a known issue.

It's because IC1538 is a train that splits and our code hasn't been updated on such response:
http://www.belgianrail.be/jp/nmbs-routeplanner/trainsearch.exe/nn?HWAI=VIEW!view=realtimeinfo!&date=22/09/2015&selectDate=oneday&start=Search&realtimeMode=Show&trainname=IC1538


We'll try to fix this asap.

Thanks for letting us know!

Brecht
From: timlemmens at gmail.com
Date: Tue, 22 Sep 2015 07:35:58 +0200
To: iRail at list.irail.be; christophe.versieux at gmail.com
Subject: [iRail] problem getting train info for IC number

Hi, 
I have problems getting the data from my IC train in BeTrains (which is a wonderful app btw), and after checking I see the origin of the problem is in the iRail API. 
This gives an error: http://api.irail.be/vehicle/?id=BE.NMBS.IC1538&fast=truewhile all my P-trains are fine: http://api.irail.be/vehicle/?id=BE.NMBS.P8009&fast=true
Is this a known problem? 

groetjes, tim
-- 
Tim Lemmens
Blokweg 16
8972 Proven
0472/325474



_______________________________________________
iRail mailing list
iRail at list.iRail.be
https://lists.okfn.org/mailman/listinfo/irail 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/irail/attachments/20150922/bcfdd946/attachment-0003.html>


More information about the iRail mailing list