Introduction
Sometimes it is important to enquire about the status of the OJP/TRIAS system: Which system version? Which data version? There is a separate query for this.
Description
Some parameters for versions and dates are sometimes important to see whether meaningful information is possible. For this purpose, technical access to some information about the interface is provided via a request. This is made available via the regular key.
Technical description
The status of the OJP can be queried via the API:
1 |
https://api.opentransportdata.swiss/ojp2020sysrequest |
The same regular key must be used.
The answer is as follows:
1 2 3 4 5 6 7 8 9 10 11 12 13 |
<?xml version="1.0" encoding="UTF-8" ?> <itdRequest version="10.4.10.25" language="de" lengthUnit="METER" sessionID="0" client="Tyk/v2.9.4.2" clientIP="10.39.16.231" serverID="10.39.17.51" virtDir="mdv" calcTime="4.782" now="2020-10-06T18:06:13" nowWD="3"> <itdSystemInfoRequest requestID="0"> <itdVersionInfo> <ptKernel> <appVersion>10.4.10.9 build 25.09.2020 11:07:58</appVersion> <dataFormat>EFA10_04_00</dataFormat> <dataBuild>2020-09-29T16:09:58</dataBuild> </ptKernel> </itdVersionInfo> <itdValidityInfo messageCode="0" validFrom="20191215" validTo="20201212" /> </itdSystemInfoRequest> </itdRequest> |
Information on the result:
dataBuild | This is the latest version of the timetable that will be used. |
appVersion | time indicates the version status of the system. |
itdValidityInfo | Indicates from when to when timetable data is currently available. |
Further information
–