Table of contents

Search on the page

OJP SysRequest

#AutoTranslate

Brief Description

Sometimes it is important to query the status of the OJP/TRIAS system: Which system version? Which data version? There is a separate query for this.

Functional Description

Some version and data parameters are sometimes important in order to check whether meaningful information is possible. For this purpose, technical access to some information via the interface is provided via a request. This is provided via the regular key.

Technical Description

The status of OJP can be queried via the API:

https://api.opentransportdata.swiss/ojp2020sysrequest

The same regular key must be used.

The answer is as follows:

<?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 last version of the timetable that will be used.
appVersion Time to see the version status of the system.
itdValidityInfo Indicates the period from when until when timetable data is currently available.