TT


Click here for a complete list of operations.

ArrDep

Vyhledání příjezdů/odjezdů (pro den, po stránkách).

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /tt.asmx HTTP/1.1
Host: ttws.timetable.cz
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ttws.chaps.cz/TT/ArrDep"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ArrDep xmlns="http://ttws.chaps.cz/TT">
      <sSessionID>string</sSessionID>
      <sUserDesc>string</sUserDesc>
      <sCombID>string</sCombID>
      <sSubstID>string</sSubstID>
      <oFrom iTTIndex="int" iVirtList="int" iVirtListID="int" iItem="int" sName="string" />
      <oTo iTTIndex="int" iVirtList="int" iVirtListID="int" iItem="int" sName="string" />
      <bIsDep>boolean</bIsDep>
      <aiTypeID>
        <i>int</i>
        <i>int</i>
      </aiTypeID>
      <sDate>string</sDate>
      <sTime>string</sTime>
      <bFuture>boolean</bFuture>
      <sLine>string</sLine>
      <iRemMask>int</iRemMask>
      <iTTDetails>long</iTTDetails>
      <bIgnoreDia>boolean</bIgnoreDia>
      <iMaxObjectCount>int</iMaxObjectCount>
      <bPrefereCities>boolean</bPrefereCities>
      <bReduce>boolean</bReduce>
      <iMaxCountInPage>int</iMaxCountInPage>
      <iMaxCount>int</iMaxCount>
      <iLang>int</iLang>
      <iRegMode>int</iRegMode>
    </ArrDep>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ArrDepResponse xmlns="http://ttws.chaps.cz/TT">
      <ArrDepResult iResult="int">
        <oFromObjects iInitIndex="int" xmlns="http://tempuri.org/">
          <aoMasks iTTIndex="int" iVirtList="int" iVirtListID="int" iItem="int" sName="string" />
          <aoMasks iTTIndex="int" iVirtList="int" iVirtListID="int" iItem="int" sName="string" />
          <oTimetableObject sRegion="string" sState="string" bRegion="boolean" sTrCategory="string" sType="string" aiTrTypeID="" sLines="string" iStCount="int" dblCoorY="double" dblCoorX="double">
            <oItem xsi:nil="true" />
            <aoStations xsi:nil="true" />
            <aoStations xsi:nil="true" />
          </oTimetableObject>
        </oFromObjects>
        <oToObjects iInitIndex="int" xmlns="http://tempuri.org/">
          <aoMasks iTTIndex="int" iVirtList="int" iVirtListID="int" iItem="int" sName="string" />
          <aoMasks iTTIndex="int" iVirtList="int" iVirtListID="int" iItem="int" sName="string" />
          <oTimetableObject sRegion="string" sState="string" bRegion="boolean" sTrCategory="string" sType="string" aiTrTypeID="" sLines="string" iStCount="int" dblCoorY="double" dblCoorX="double">
            <oItem xsi:nil="true" />
            <aoStations xsi:nil="true" />
            <aoStations xsi:nil="true" />
          </oTimetableObject>
        </oToObjects>
        <aoInfo sTimeLength="string" sDistance="string" iCycle2="int" sIDSLine="string" abDateFlags="base64Binary" sDelayQuery="string" sTimeTrainStart="string" dtDateTime2="dateTime" dtDateTime1="dateTime" iCycle1="int" iCycle="int" sTimeTrainEnd="string" xmlns="http://tempuri.org/">
          <oTrain iFlags="int" sTypeName="string" iColor="int" sInfoFile="string" iID="int" iType="int" iIndex="int" iTTIndex="int" sNum1="string" sType="string" sNum2="string">
            <aoFixedCodes xsi:nil="true" />
            <aoFixedCodes xsi:nil="true" />
          </oTrain>
          <oStation1 dblCoorX="double" sInfoFile="string" aiTrTypeID="" dblCoorY="double" iReservKey="int" iStation="int" iTTIndex="int" iKey="int" sName="string">
            <aoFixedCodes xsi:nil="true" />
            <aoFixedCodes xsi:nil="true" />
          </oStation1>
          <oStation2 dblCoorX="double" sInfoFile="string" aiTrTypeID="" dblCoorY="double" iReservKey="int" iStation="int" iTTIndex="int" iKey="int" sName="string">
            <aoFixedCodes xsi:nil="true" />
            <aoFixedCodes xsi:nil="true" />
          </oStation2>
          <oStationTrainStart dblCoorX="double" sInfoFile="string" aiTrTypeID="" dblCoorY="double" iReservKey="int" iStation="int" iTTIndex="int" iKey="int" sName="string">
            <aoFixedCodes xsi:nil="true" />
            <aoFixedCodes xsi:nil="true" />
          </oStationTrainStart>
          <oStationTrainEnd dblCoorX="double" sInfoFile="string" aiTrTypeID="" dblCoorY="double" iReservKey="int" iStation="int" iTTIndex="int" iKey="int" sName="string">
            <aoFixedCodes xsi:nil="true" />
            <aoFixedCodes xsi:nil="true" />
          </oStationTrainEnd>
          <aoFixedCodes sText="string" sTTText="string" sDesc="string" sDescExt="string" />
          <aoFixedCodes sText="string" sTTText="string" sDesc="string" sDescExt="string" />
          <oRemarks>
            <aoRemarks xsi:nil="true" />
            <aoRemarks xsi:nil="true" />
            <aoLegend xsi:nil="true" />
            <aoLegend xsi:nil="true" />
          </oRemarks>
          <sStand>string</sStand>
        </aoInfo>
        <aoInfo sTimeLength="string" sDistance="string" iCycle2="int" sIDSLine="string" abDateFlags="base64Binary" sDelayQuery="string" sTimeTrainStart="string" dtDateTime2="dateTime" dtDateTime1="dateTime" iCycle1="int" iCycle="int" sTimeTrainEnd="string" xmlns="http://tempuri.org/">
          <oTrain iFlags="int" sTypeName="string" iColor="int" sInfoFile="string" iID="int" iType="int" iIndex="int" iTTIndex="int" sNum1="string" sType="string" sNum2="string">
            <aoFixedCodes xsi:nil="true" />
            <aoFixedCodes xsi:nil="true" />
          </oTrain>
          <oStation1 dblCoorX="double" sInfoFile="string" aiTrTypeID="" dblCoorY="double" iReservKey="int" iStation="int" iTTIndex="int" iKey="int" sName="string">
            <aoFixedCodes xsi:nil="true" />
            <aoFixedCodes xsi:nil="true" />
          </oStation1>
          <oStation2 dblCoorX="double" sInfoFile="string" aiTrTypeID="" dblCoorY="double" iReservKey="int" iStation="int" iTTIndex="int" iKey="int" sName="string">
            <aoFixedCodes xsi:nil="true" />
            <aoFixedCodes xsi:nil="true" />
          </oStation2>
          <oStationTrainStart dblCoorX="double" sInfoFile="string" aiTrTypeID="" dblCoorY="double" iReservKey="int" iStation="int" iTTIndex="int" iKey="int" sName="string">
            <aoFixedCodes xsi:nil="true" />
            <aoFixedCodes xsi:nil="true" />
          </oStationTrainStart>
          <oStationTrainEnd dblCoorX="double" sInfoFile="string" aiTrTypeID="" dblCoorY="double" iReservKey="int" iStation="int" iTTIndex="int" iKey="int" sName="string">
            <aoFixedCodes xsi:nil="true" />
            <aoFixedCodes xsi:nil="true" />
          </oStationTrainEnd>
          <aoFixedCodes sText="string" sTTText="string" sDesc="string" sDescExt="string" />
          <aoFixedCodes sText="string" sTTText="string" sDesc="string" sDescExt="string" />
          <oRemarks>
            <aoRemarks xsi:nil="true" />
            <aoRemarks xsi:nil="true" />
            <aoLegend xsi:nil="true" />
            <aoLegend xsi:nil="true" />
          </oRemarks>
          <sStand>string</sStand>
        </aoInfo>
        <oPageInfo bMulti1="boolean" bMulti2="boolean" iIndex="int" iPageIndex="int" dtSearchDate="date" iSearchTime="int" iPagesCount="int" xmlns="http://tempuri.org/">
          <asPageIntFrom>string</asPageIntFrom>
          <asPageIntFrom>string</asPageIntFrom>
          <asPageIntTo>string</asPageIntTo>
          <asPageIntTo>string</asPageIntTo>
          <aiPageCount>int</aiPageCount>
          <aiPageCount>int</aiPageCount>
          <aoLegend sText="string" sTTText="string" sDesc="string" sDescExt="string" />
          <aoLegend sText="string" sTTText="string" sDesc="string" sDescExt="string" />
        </oPageInfo>
      </ArrDepResult>
    </ArrDepResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /tt.asmx HTTP/1.1
Host: ttws.timetable.cz
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <ArrDep xmlns="http://ttws.chaps.cz/TT">
      <sSessionID>string</sSessionID>
      <sUserDesc>string</sUserDesc>
      <sCombID>string</sCombID>
      <sSubstID>string</sSubstID>
      <oFrom iTTIndex="int" iVirtList="int" iVirtListID="int" iItem="int" sName="string" />
      <oTo iTTIndex="int" iVirtList="int" iVirtListID="int" iItem="int" sName="string" />
      <bIsDep>boolean</bIsDep>
      <aiTypeID>
        <i>int</i>
        <i>int</i>
      </aiTypeID>
      <sDate>string</sDate>
      <sTime>string</sTime>
      <bFuture>boolean</bFuture>
      <sLine>string</sLine>
      <iRemMask>int</iRemMask>
      <iTTDetails>long</iTTDetails>
      <bIgnoreDia>boolean</bIgnoreDia>
      <iMaxObjectCount>int</iMaxObjectCount>
      <bPrefereCities>boolean</bPrefereCities>
      <bReduce>boolean</bReduce>
      <iMaxCountInPage>int</iMaxCountInPage>
      <iMaxCount>int</iMaxCount>
      <iLang>int</iLang>
      <iRegMode>int</iRegMode>
    </ArrDep>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <ArrDepResponse xmlns="http://ttws.chaps.cz/TT">
      <ArrDepResult iResult="int">
        <oFromObjects iInitIndex="int" xmlns="http://tempuri.org/">
          <aoMasks iTTIndex="int" iVirtList="int" iVirtListID="int" iItem="int" sName="string" />
          <aoMasks iTTIndex="int" iVirtList="int" iVirtListID="int" iItem="int" sName="string" />
          <oTimetableObject sRegion="string" sState="string" bRegion="boolean" sTrCategory="string" sType="string" aiTrTypeID="" sLines="string" iStCount="int" dblCoorY="double" dblCoorX="double">
            <oItem xsi:nil="true" />
            <aoStations xsi:nil="true" />
            <aoStations xsi:nil="true" />
          </oTimetableObject>
        </oFromObjects>
        <oToObjects iInitIndex="int" xmlns="http://tempuri.org/">
          <aoMasks iTTIndex="int" iVirtList="int" iVirtListID="int" iItem="int" sName="string" />
          <aoMasks iTTIndex="int" iVirtList="int" iVirtListID="int" iItem="int" sName="string" />
          <oTimetableObject sRegion="string" sState="string" bRegion="boolean" sTrCategory="string" sType="string" aiTrTypeID="" sLines="string" iStCount="int" dblCoorY="double" dblCoorX="double">
            <oItem xsi:nil="true" />
            <aoStations xsi:nil="true" />
            <aoStations xsi:nil="true" />
          </oTimetableObject>
        </oToObjects>
        <aoInfo sTimeLength="string" sDistance="string" iCycle2="int" sIDSLine="string" abDateFlags="base64Binary" sDelayQuery="string" sTimeTrainStart="string" dtDateTime2="dateTime" dtDateTime1="dateTime" iCycle1="int" iCycle="int" sTimeTrainEnd="string" xmlns="http://tempuri.org/">
          <oTrain iFlags="int" sTypeName="string" iColor="int" sInfoFile="string" iID="int" iType="int" iIndex="int" iTTIndex="int" sNum1="string" sType="string" sNum2="string">
            <aoFixedCodes xsi:nil="true" />
            <aoFixedCodes xsi:nil="true" />
          </oTrain>
          <oStation1 dblCoorX="double" sInfoFile="string" aiTrTypeID="" dblCoorY="double" iReservKey="int" iStation="int" iTTIndex="int" iKey="int" sName="string">
            <aoFixedCodes xsi:nil="true" />
            <aoFixedCodes xsi:nil="true" />
          </oStation1>
          <oStation2 dblCoorX="double" sInfoFile="string" aiTrTypeID="" dblCoorY="double" iReservKey="int" iStation="int" iTTIndex="int" iKey="int" sName="string">
            <aoFixedCodes xsi:nil="true" />
            <aoFixedCodes xsi:nil="true" />
          </oStation2>
          <oStationTrainStart dblCoorX="double" sInfoFile="string" aiTrTypeID="" dblCoorY="double" iReservKey="int" iStation="int" iTTIndex="int" iKey="int" sName="string">
            <aoFixedCodes xsi:nil="true" />
            <aoFixedCodes xsi:nil="true" />
          </oStationTrainStart>
          <oStationTrainEnd dblCoorX="double" sInfoFile="string" aiTrTypeID="" dblCoorY="double" iReservKey="int" iStation="int" iTTIndex="int" iKey="int" sName="string">
            <aoFixedCodes xsi:nil="true" />
            <aoFixedCodes xsi:nil="true" />
          </oStationTrainEnd>
          <aoFixedCodes sText="string" sTTText="string" sDesc="string" sDescExt="string" />
          <aoFixedCodes sText="string" sTTText="string" sDesc="string" sDescExt="string" />
          <oRemarks>
            <aoRemarks xsi:nil="true" />
            <aoRemarks xsi:nil="true" />
            <aoLegend xsi:nil="true" />
            <aoLegend xsi:nil="true" />
          </oRemarks>
          <sStand>string</sStand>
        </aoInfo>
        <aoInfo sTimeLength="string" sDistance="string" iCycle2="int" sIDSLine="string" abDateFlags="base64Binary" sDelayQuery="string" sTimeTrainStart="string" dtDateTime2="dateTime" dtDateTime1="dateTime" iCycle1="int" iCycle="int" sTimeTrainEnd="string" xmlns="http://tempuri.org/">
          <oTrain iFlags="int" sTypeName="string" iColor="int" sInfoFile="string" iID="int" iType="int" iIndex="int" iTTIndex="int" sNum1="string" sType="string" sNum2="string">
            <aoFixedCodes xsi:nil="true" />
            <aoFixedCodes xsi:nil="true" />
          </oTrain>
          <oStation1 dblCoorX="double" sInfoFile="string" aiTrTypeID="" dblCoorY="double" iReservKey="int" iStation="int" iTTIndex="int" iKey="int" sName="string">
            <aoFixedCodes xsi:nil="true" />
            <aoFixedCodes xsi:nil="true" />
          </oStation1>
          <oStation2 dblCoorX="double" sInfoFile="string" aiTrTypeID="" dblCoorY="double" iReservKey="int" iStation="int" iTTIndex="int" iKey="int" sName="string">
            <aoFixedCodes xsi:nil="true" />
            <aoFixedCodes xsi:nil="true" />
          </oStation2>
          <oStationTrainStart dblCoorX="double" sInfoFile="string" aiTrTypeID="" dblCoorY="double" iReservKey="int" iStation="int" iTTIndex="int" iKey="int" sName="string">
            <aoFixedCodes xsi:nil="true" />
            <aoFixedCodes xsi:nil="true" />
          </oStationTrainStart>
          <oStationTrainEnd dblCoorX="double" sInfoFile="string" aiTrTypeID="" dblCoorY="double" iReservKey="int" iStation="int" iTTIndex="int" iKey="int" sName="string">
            <aoFixedCodes xsi:nil="true" />
            <aoFixedCodes xsi:nil="true" />
          </oStationTrainEnd>
          <aoFixedCodes sText="string" sTTText="string" sDesc="string" sDescExt="string" />
          <aoFixedCodes sText="string" sTTText="string" sDesc="string" sDescExt="string" />
          <oRemarks>
            <aoRemarks xsi:nil="true" />
            <aoRemarks xsi:nil="true" />
            <aoLegend xsi:nil="true" />
            <aoLegend xsi:nil="true" />
          </oRemarks>
          <sStand>string</sStand>
        </aoInfo>
        <oPageInfo bMulti1="boolean" bMulti2="boolean" iIndex="int" iPageIndex="int" dtSearchDate="date" iSearchTime="int" iPagesCount="int" xmlns="http://tempuri.org/">
          <asPageIntFrom>string</asPageIntFrom>
          <asPageIntFrom>string</asPageIntFrom>
          <asPageIntTo>string</asPageIntTo>
          <asPageIntTo>string</asPageIntTo>
          <aiPageCount>int</aiPageCount>
          <aiPageCount>int</aiPageCount>
          <aoLegend sText="string" sTTText="string" sDesc="string" sDescExt="string" />
          <aoLegend sText="string" sTTText="string" sDesc="string" sDescExt="string" />
        </oPageInfo>
      </ArrDepResult>
    </ArrDepResponse>
  </soap12:Body>
</soap12:Envelope>