TimeTables


Click here for a complete list of operations.

DataTrain

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 /etdws/TimeTables.asmx HTTP/1.1
Host: provoz.spravazeleznic.cz
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://provoz.szdc.cz/ETD/DataTrain"

<?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>
    <DataTrain xmlns="http://provoz.szdc.cz/ETD">
      <dataTrainRequest>
        <MessageHeader>
          <MessageReference>
            <MessageTypeVersion>string</MessageTypeVersion>
            <MessageNumber>int</MessageNumber>
            <MessageDateTime>dateTime</MessageDateTime>
          </MessageReference>
          <Sender>string</Sender>
          <Recipient>string</Recipient>
          <TransactionId>string</TransactionId>
          <Version>string</Version>
          <VehicleId>string</VehicleId>
        </MessageHeader>
        <GPSCoords>
          <Latitude>double</Latitude>
          <Longitude>double</Longitude>
          <Altitude>double</Altitude>
          <Velocity>double</Velocity>
          <Course>double</Course>
          <Climb>double</Climb>
          <ErrTotal>double</ErrTotal>
          <ErrHorz>double</ErrHorz>
          <ErrVert>double</ErrVert>
        </GPSCoords>
        <DriverIdent>
          <DriverId>string</DriverId>
          <Language>string</Language>
        </DriverIdent>
        <Request />
        <User>
          <Login>string</Login>
          <Password>string</Password>
          <SystemId>unsignedByte</SystemId>
        </User>
      </dataTrainRequest>
    </DataTrain>
  </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>
    <DataTrainResponse xmlns="http://provoz.szdc.cz/ETD">
      <DataTrainResult>
        <MessageHeader>
          <MessageReference>
            <MessageTypeVersion>string</MessageTypeVersion>
            <MessageNumber>int</MessageNumber>
            <MessageDateTime>dateTime</MessageDateTime>
          </MessageReference>
          <Sender>string</Sender>
          <Recipient>string</Recipient>
          <TransactionId>string</TransactionId>
          <Version>string</Version>
          <VehicleId>string</VehicleId>
        </MessageHeader>
        <RelatedReference>
          <RelatedNumber>int</RelatedNumber>
          <RelatedMessageDateTime>dateTime</RelatedMessageDateTime>
        </RelatedReference>
        <LocoIdent>string</LocoIdent>
        <TrainIdent>
          <TrainNumber>int</TrainNumber>
          <KindOfTrain>string</KindOfTrain>
          <ScheduledDepartureDate>date</ScheduledDepartureDate>
          <ShortDesc>string</ShortDesc>
          <FullDesc>
            <Arrival>time</Arrival>
            <Departure>time</Departure>
            <From>string</From>
            <To>string</To>
            <RailwayCompany>string</RailwayCompany>
          </FullDesc>
          <ValidFrom>dateTime</ValidFrom>
          <ValidTo>dateTime</ValidTo>
          <PAIdent>string</PAIdent>
          <ValidForDate>date</ValidForDate>
          <ValidForDate>date</ValidForDate>
        </TrainIdent>
        <TrainIdent>
          <TrainNumber>int</TrainNumber>
          <KindOfTrain>string</KindOfTrain>
          <ScheduledDepartureDate>date</ScheduledDepartureDate>
          <ShortDesc>string</ShortDesc>
          <FullDesc>
            <Arrival>time</Arrival>
            <Departure>time</Departure>
            <From>string</From>
            <To>string</To>
            <RailwayCompany>string</RailwayCompany>
          </FullDesc>
          <ValidFrom>dateTime</ValidFrom>
          <ValidTo>dateTime</ValidTo>
          <PAIdent>string</PAIdent>
          <ValidForDate>date</ValidForDate>
          <ValidForDate>date</ValidForDate>
        </TrainIdent>
        <Result>
          <Value>short</Value>
          <Description>string</Description>
        </Result>
      </DataTrainResult>
    </DataTrainResponse>
  </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 /etdws/TimeTables.asmx HTTP/1.1
Host: provoz.spravazeleznic.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>
    <DataTrain xmlns="http://provoz.szdc.cz/ETD">
      <dataTrainRequest>
        <MessageHeader>
          <MessageReference>
            <MessageTypeVersion>string</MessageTypeVersion>
            <MessageNumber>int</MessageNumber>
            <MessageDateTime>dateTime</MessageDateTime>
          </MessageReference>
          <Sender>string</Sender>
          <Recipient>string</Recipient>
          <TransactionId>string</TransactionId>
          <Version>string</Version>
          <VehicleId>string</VehicleId>
        </MessageHeader>
        <GPSCoords>
          <Latitude>double</Latitude>
          <Longitude>double</Longitude>
          <Altitude>double</Altitude>
          <Velocity>double</Velocity>
          <Course>double</Course>
          <Climb>double</Climb>
          <ErrTotal>double</ErrTotal>
          <ErrHorz>double</ErrHorz>
          <ErrVert>double</ErrVert>
        </GPSCoords>
        <DriverIdent>
          <DriverId>string</DriverId>
          <Language>string</Language>
        </DriverIdent>
        <Request />
        <User>
          <Login>string</Login>
          <Password>string</Password>
          <SystemId>unsignedByte</SystemId>
        </User>
      </dataTrainRequest>
    </DataTrain>
  </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>
    <DataTrainResponse xmlns="http://provoz.szdc.cz/ETD">
      <DataTrainResult>
        <MessageHeader>
          <MessageReference>
            <MessageTypeVersion>string</MessageTypeVersion>
            <MessageNumber>int</MessageNumber>
            <MessageDateTime>dateTime</MessageDateTime>
          </MessageReference>
          <Sender>string</Sender>
          <Recipient>string</Recipient>
          <TransactionId>string</TransactionId>
          <Version>string</Version>
          <VehicleId>string</VehicleId>
        </MessageHeader>
        <RelatedReference>
          <RelatedNumber>int</RelatedNumber>
          <RelatedMessageDateTime>dateTime</RelatedMessageDateTime>
        </RelatedReference>
        <LocoIdent>string</LocoIdent>
        <TrainIdent>
          <TrainNumber>int</TrainNumber>
          <KindOfTrain>string</KindOfTrain>
          <ScheduledDepartureDate>date</ScheduledDepartureDate>
          <ShortDesc>string</ShortDesc>
          <FullDesc>
            <Arrival>time</Arrival>
            <Departure>time</Departure>
            <From>string</From>
            <To>string</To>
            <RailwayCompany>string</RailwayCompany>
          </FullDesc>
          <ValidFrom>dateTime</ValidFrom>
          <ValidTo>dateTime</ValidTo>
          <PAIdent>string</PAIdent>
          <ValidForDate>date</ValidForDate>
          <ValidForDate>date</ValidForDate>
        </TrainIdent>
        <TrainIdent>
          <TrainNumber>int</TrainNumber>
          <KindOfTrain>string</KindOfTrain>
          <ScheduledDepartureDate>date</ScheduledDepartureDate>
          <ShortDesc>string</ShortDesc>
          <FullDesc>
            <Arrival>time</Arrival>
            <Departure>time</Departure>
            <From>string</From>
            <To>string</To>
            <RailwayCompany>string</RailwayCompany>
          </FullDesc>
          <ValidFrom>dateTime</ValidFrom>
          <ValidTo>dateTime</ValidTo>
          <PAIdent>string</PAIdent>
          <ValidForDate>date</ValidForDate>
          <ValidForDate>date</ValidForDate>
        </TrainIdent>
        <Result>
          <Value>short</Value>
          <Description>string</Description>
        </Result>
      </DataTrainResult>
    </DataTrainResponse>
  </soap12:Body>
</soap12:Envelope>