NRE Darwin Web Service (Staff): Difference between revisions
PeterHicks (talk | contribs) m Correct LBD to LDB |
PeterHicks (talk | contribs) m Add Java example |
||
Line 12: | Line 12: | ||
Further guidance and advice can be found here [[Media:LDBSVWS - Guidance Note v1.doc.gz|LDBSVWS - Guidance Note v1]]. Whilst last updated in 2014, much of the information is still current and correct. An updated version will be added to this site in due course. | Further guidance and advice can be found here [[Media:LDBSVWS - Guidance Note v1.doc.gz|LDBSVWS - Guidance Note v1]]. Whilst last updated in 2014, much of the information is still current and correct. An updated version will be added to this site in due course. | ||
The API uses [http://en.wikipedia.org/wiki/SOAP SOAP], which is not necessarily a developer's first choice | The API uses [http://en.wikipedia.org/wiki/SOAP SOAP], which is not necessarily a developer's first choice. | ||
Example code to consume the service is available for the following languages: | |||
* [https://github.com/openraildata/openldbsvws-example-java Java using Apache CXF] | |||
== Detail == | |||
The OpenLDB (Staff) provides SOAP 1.1 and 1.2 endpoints which supports the following operations; | The OpenLDB (Staff) provides SOAP 1.1 and 1.2 endpoints which supports the following operations; |
Revision as of 11:37, 24 November 2018
About
The Darwin Web Service (Staff) is a SOAP API which allows access to more detailed information about arrivals and departures from a station. The additional data available includes train reporting numbers (colloquially called 'headcodes'), schedule UIDs and Retail Service IDs (RSID), plus passing points for trains.
This is the same data that is presented on the Darwin Web Service (Public), but in greater detail.
Having problems with the API? Check out the troubleshooting notes.
API
Documentation for the LDB-SV can be found here LDB-SV User Guide. Further guidance and advice can be found here LDBSVWS - Guidance Note v1. Whilst last updated in 2014, much of the information is still current and correct. An updated version will be added to this site in due course.
The API uses SOAP, which is not necessarily a developer's first choice.
Example code to consume the service is available for the following languages:
Detail
The OpenLDB (Staff) provides SOAP 1.1 and 1.2 endpoints which supports the following operations;
GetArrBoardWithDetails
GetArrDepBoardWithDetails
GetArrivalBoardByCRS
GetArrivalBoardByTIPLOC
GetArrivalDepartureBoardByCRS
GetArrivalDepartureBoardByTIPLOC
GetDepartureBoardByCRS
GetDepartureBoardByTIPLOC
GetDepBoardWithDetails
GetFastestDepartures
GetFastestDeparturesWithDetails
GetNextDepartures
GetNextDeparturesWithDetails
GetServiceDetailsByRID
QueryServices
GetHistoricDepartureBoard
GetHistoricServiceDetails
GetHistoricTimeLine
QueryHistoricServices
GetSourceInstanceNames
GetStationList
GetTOCList
GetDisruptionList
GetReasonCodeList
GetReasonCode
National Rail Enquiries Data Feeds | |
---|---|
Data Feeds | About the Feeds • Darwin Webservice (Public) • Darwin Webservice (Staff) • Historical Service Performance • Push Port • KnowledgeBase • DTD • Locations (PoC) • Real Time Journey Planner |
LDB API | About |
LDB-SV API | About |
HSP | About |
DTD | About • Fares • Timetable |
Push Port | About • XML Schemas • Schedules • Associations • Train Status • Station Messages • Alarms • Train Order • Train Alerts • Formations • Formation loading |