TimeTables
Click here for a complete list of operations.
File
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/File" <?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> <File xmlns="http://provoz.szdc.cz/ETD"> <fileRequest> <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> <FileParam> <FileName>string</FileName> <Offset>int</Offset> <Lenght>int</Lenght> </FileParam> <User> <Login>string</Login> <Password>string</Password> <SystemId>unsignedByte</SystemId> </User> </fileRequest> </File> </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> <FileResponse xmlns="http://provoz.szdc.cz/ETD"> <FileResult> <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> <File> <FileParam> <FileName>string</FileName> <Offset>int</Offset> <Lenght>int</Lenght> </FileParam> <FileContent>base64Binary</FileContent> </File> <Result> <Value>short</Value> <Description>string</Description> </Result> </FileResult> </FileResponse> </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> <File xmlns="http://provoz.szdc.cz/ETD"> <fileRequest> <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> <FileParam> <FileName>string</FileName> <Offset>int</Offset> <Lenght>int</Lenght> </FileParam> <User> <Login>string</Login> <Password>string</Password> <SystemId>unsignedByte</SystemId> </User> </fileRequest> </File> </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> <FileResponse xmlns="http://provoz.szdc.cz/ETD"> <FileResult> <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> <File> <FileParam> <FileName>string</FileName> <Offset>int</Offset> <Lenght>int</Lenght> </FileParam> <FileContent>base64Binary</FileContent> </File> <Result> <Value>short</Value> <Description>string</Description> </Result> </FileResult> </FileResponse> </soap12:Body> </soap12:Envelope>