Skip to content

Instantly share code, notes, and snippets.

@toto
Created November 29, 2012 14:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save toto/4169520 to your computer and use it in GitHub Desktop.
Save toto/4169520 to your computer and use it in GitHub Desktop.
VBB API Response Example
<?xml version="1.0" encoding="iso-8859-1"?>
<ResC xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://demo.hafas.de/xml/vbb/std/hafasXMLInterface.xsd" ver="1.1" prod="5.31.VBB.4.8.9 [Oct 17 2012]" lang="DE">
<* dir="O">
<ConResCtxt>6t.0297451.1354025783#1</ConResCtxt>
<ConnectionList type="OEV">
<Connection id="C1-0">
<Overview>
<Date>20121126</Date>
<Departure>
<BasicStop type="NORMAL">
<Station name="U Pankstr. (Berlin)" x="13381836" y="52552251" type="WGS84" externalId="009009203#86" externalStationNr="009009203"/>
<Dep getIn="YES">
<Time>00d19:49:00</Time>
<Platform>
<Text></Text>
</Platform>
</Dep>
</BasicStop>
</Departure>
<Arrival>
<BasicStop type="NORMAL">
<Station name="U Rathaus Neukölln (Berlin)" x="13435241" y="52481065" type="WGS84" externalId="009078102#86" externalStationNr="009078102"/>
<Arr getOut="YES">
<Time>00d20:17:00</Time>
<Platform>
<Text></Text>
</Platform>
</Arr>
</BasicStop>
</Arrival>
<Transfers>1</Transfers>
<Duration>
<Time>00d00:28:00</Time>
</Duration>
<ServiceDays>
<RegularServiceText>
<Text>Mo - Sa</Text>
</RegularServiceText>
<IrregularServiceText>
<Text>nicht 25., 26. Dez, 1. Jan</Text>
</IrregularServiceText>
</ServiceDays>
<Products>
<Product cat="U "/>
</Products>
<ContextURL url="http://demo.hafas.de/bin/pub/vbb-fahrinfo/relaunch2011/query.exe/dn?seqnr=1&amp;ident=6t.0297451.1354025783&amp;guiVCtrl_connection_detailsOut_select_C1-0&amp;jumpToDetails=yes&amp;guiVCtrl_connection_detailsOut_add_selection=yes"/>
</Overview>
</Connection>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment