TAFTSI
Úplný seznam operací zobrazíte kliknutím sem.
RequestOnSelectedPath
Test
Testovací formulář je k dispozici pouze pro požadavky z místního počítače.SOAP 1.1
Následuje ukázkový požadavek a odpověď SOAP 1.1. Uvedené zástupce je třeba nahradit skutečnými hodnotami.
POST /kadrws/taftsi.asmx HTTP/1.1 Host: provoz.spravazeleznic.cz Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://provoz.szdc.cz/kadr/RequestOnSelectedPath" <?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> <RequestOnSelectedPath xmlns="http://provoz.szdc.cz/kadr"> <Message> <MessageHeader> <MessageStatus>1 or 2 or 3</MessageStatus> <MessageReference> <MessageType xsi:nil="true" /> <MessageNumber>int</MessageNumber> <MessageDateTime>dateTime</MessageDateTime> </MessageReference> <Sender>int</Sender> <Recipient>int</Recipient> </MessageHeader> <RequestOnSelectedPathOltisSection> <RIN_RU_Ident>string</RIN_RU_Ident> <RIN_IM_Ident>string</RIN_IM_Ident> <Calendar_Ident> <BitmapDays>string</BitmapDays> <ValidityFrom>dateTime</ValidityFrom> <ValidityTo>dateTime</ValidityTo> </Calendar_Ident> </RequestOnSelectedPathOltisSection> </Message> <User_Ident> <LDAP_User>string</LDAP_User> <LDAP_Password>string</LDAP_Password> <Company>int</Company> </User_Ident> </RequestOnSelectedPath> </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> <RequestOnSelectedPathResponse xmlns="http://provoz.szdc.cz/kadr"> <RequestOnSelectedPathResult> <PathDetailsMessage> <MessageHeader> <MessageStatus>1 or 2 or 3</MessageStatus> <MessageReference xsi:nil="true" /> <Sender>int</Sender> <Recipient>int</Recipient> </MessageHeader> <RelatedReference> <RelatedType xsi:nil="true" /> <RelatedNumber>int</RelatedNumber> <RelatedMessageDateTime>dateTime</RelatedMessageDateTime> </RelatedReference> <PathIdentity> <PathIdent>string</PathIdent> <PathDeparturePoint xsi:nil="true" /> <PathDepartureTime>dateTime</PathDepartureTime> <PathDestinationPoint xsi:nil="true" /> <PathDestinationTime>dateTime</PathDestinationTime> <TrainNumber xsi:nil="true" /> </PathIdentity> <AcceptedJourneySection> <JourneySection xsi:nil="true" /> <TrainRunningData xsi:nil="true" /> </AcceptedJourneySection> <AcceptedJourneySection> <JourneySection xsi:nil="true" /> <TrainRunningData xsi:nil="true" /> </AcceptedJourneySection> <PathDetailsOltisSection> <Calendar_Ident xsi:nil="true" /> <RIN_RU_Ident>string</RIN_RU_Ident> <RIN_IM_Ident>string</RIN_IM_Ident> <Designer_Ident xsi:nil="true" /> <NumberAlternativePath>short</NumberAlternativePath> <RecommendedAlternativePath>boolean</RecommendedAlternativePath> <MaxVerdictTime>dateTime</MaxVerdictTime> <NoteIM>string</NoteIM> <Code1IM>short</Code1IM> <TextCode1IM>string</TextCode1IM> <Code2IM>short</Code2IM> <TextCode2IM>string</TextCode2IM> <PriceCapacity>string</PriceCapacity> <Info_Ident xsi:nil="true" /> <JourneySequenceNumber xsi:nil="true" /> <JourneySequenceNumber xsi:nil="true" /> <TrainID>string</TrainID> <PA>string</PA> <Product>int</Product> <OfferPrice>string</OfferPrice> <TypeOfInformation>integer</TypeOfInformation> <CZ_PR_Bitmap>string</CZ_PR_Bitmap> <CZ_PR_StartDate>dateTime</CZ_PR_StartDate> <CZ_PR_EndDate>dateTime</CZ_PR_EndDate> </PathDetailsOltisSection> </PathDetailsMessage> <PathDetailsMessage> <MessageHeader> <MessageStatus>1 or 2 or 3</MessageStatus> <MessageReference xsi:nil="true" /> <Sender>int</Sender> <Recipient>int</Recipient> </MessageHeader> <RelatedReference> <RelatedType xsi:nil="true" /> <RelatedNumber>int</RelatedNumber> <RelatedMessageDateTime>dateTime</RelatedMessageDateTime> </RelatedReference> <PathIdentity> <PathIdent>string</PathIdent> <PathDeparturePoint xsi:nil="true" /> <PathDepartureTime>dateTime</PathDepartureTime> <PathDestinationPoint xsi:nil="true" /> <PathDestinationTime>dateTime</PathDestinationTime> <TrainNumber xsi:nil="true" /> </PathIdentity> <AcceptedJourneySection> <JourneySection xsi:nil="true" /> <TrainRunningData xsi:nil="true" /> </AcceptedJourneySection> <AcceptedJourneySection> <JourneySection xsi:nil="true" /> <TrainRunningData xsi:nil="true" /> </AcceptedJourneySection> <PathDetailsOltisSection> <Calendar_Ident xsi:nil="true" /> <RIN_RU_Ident>string</RIN_RU_Ident> <RIN_IM_Ident>string</RIN_IM_Ident> <Designer_Ident xsi:nil="true" /> <NumberAlternativePath>short</NumberAlternativePath> <RecommendedAlternativePath>boolean</RecommendedAlternativePath> <MaxVerdictTime>dateTime</MaxVerdictTime> <NoteIM>string</NoteIM> <Code1IM>short</Code1IM> <TextCode1IM>string</TextCode1IM> <Code2IM>short</Code2IM> <TextCode2IM>string</TextCode2IM> <PriceCapacity>string</PriceCapacity> <Info_Ident xsi:nil="true" /> <JourneySequenceNumber xsi:nil="true" /> <JourneySequenceNumber xsi:nil="true" /> <TrainID>string</TrainID> <PA>string</PA> <Product>int</Product> <OfferPrice>string</OfferPrice> <TypeOfInformation>integer</TypeOfInformation> <CZ_PR_Bitmap>string</CZ_PR_Bitmap> <CZ_PR_StartDate>dateTime</CZ_PR_StartDate> <CZ_PR_EndDate>dateTime</CZ_PR_EndDate> </PathDetailsOltisSection> </PathDetailsMessage> </RequestOnSelectedPathResult> </RequestOnSelectedPathResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
Následuje ukázkový požadavek a odpověď SOAP 1.2. Uvedené zástupce je třeba nahradit skutečnými hodnotami.
POST /kadrws/taftsi.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> <RequestOnSelectedPath xmlns="http://provoz.szdc.cz/kadr"> <Message> <MessageHeader> <MessageStatus>1 or 2 or 3</MessageStatus> <MessageReference> <MessageType xsi:nil="true" /> <MessageNumber>int</MessageNumber> <MessageDateTime>dateTime</MessageDateTime> </MessageReference> <Sender>int</Sender> <Recipient>int</Recipient> </MessageHeader> <RequestOnSelectedPathOltisSection> <RIN_RU_Ident>string</RIN_RU_Ident> <RIN_IM_Ident>string</RIN_IM_Ident> <Calendar_Ident> <BitmapDays>string</BitmapDays> <ValidityFrom>dateTime</ValidityFrom> <ValidityTo>dateTime</ValidityTo> </Calendar_Ident> </RequestOnSelectedPathOltisSection> </Message> <User_Ident> <LDAP_User>string</LDAP_User> <LDAP_Password>string</LDAP_Password> <Company>int</Company> </User_Ident> </RequestOnSelectedPath> </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> <RequestOnSelectedPathResponse xmlns="http://provoz.szdc.cz/kadr"> <RequestOnSelectedPathResult> <PathDetailsMessage> <MessageHeader> <MessageStatus>1 or 2 or 3</MessageStatus> <MessageReference xsi:nil="true" /> <Sender>int</Sender> <Recipient>int</Recipient> </MessageHeader> <RelatedReference> <RelatedType xsi:nil="true" /> <RelatedNumber>int</RelatedNumber> <RelatedMessageDateTime>dateTime</RelatedMessageDateTime> </RelatedReference> <PathIdentity> <PathIdent>string</PathIdent> <PathDeparturePoint xsi:nil="true" /> <PathDepartureTime>dateTime</PathDepartureTime> <PathDestinationPoint xsi:nil="true" /> <PathDestinationTime>dateTime</PathDestinationTime> <TrainNumber xsi:nil="true" /> </PathIdentity> <AcceptedJourneySection> <JourneySection xsi:nil="true" /> <TrainRunningData xsi:nil="true" /> </AcceptedJourneySection> <AcceptedJourneySection> <JourneySection xsi:nil="true" /> <TrainRunningData xsi:nil="true" /> </AcceptedJourneySection> <PathDetailsOltisSection> <Calendar_Ident xsi:nil="true" /> <RIN_RU_Ident>string</RIN_RU_Ident> <RIN_IM_Ident>string</RIN_IM_Ident> <Designer_Ident xsi:nil="true" /> <NumberAlternativePath>short</NumberAlternativePath> <RecommendedAlternativePath>boolean</RecommendedAlternativePath> <MaxVerdictTime>dateTime</MaxVerdictTime> <NoteIM>string</NoteIM> <Code1IM>short</Code1IM> <TextCode1IM>string</TextCode1IM> <Code2IM>short</Code2IM> <TextCode2IM>string</TextCode2IM> <PriceCapacity>string</PriceCapacity> <Info_Ident xsi:nil="true" /> <JourneySequenceNumber xsi:nil="true" /> <JourneySequenceNumber xsi:nil="true" /> <TrainID>string</TrainID> <PA>string</PA> <Product>int</Product> <OfferPrice>string</OfferPrice> <TypeOfInformation>integer</TypeOfInformation> <CZ_PR_Bitmap>string</CZ_PR_Bitmap> <CZ_PR_StartDate>dateTime</CZ_PR_StartDate> <CZ_PR_EndDate>dateTime</CZ_PR_EndDate> </PathDetailsOltisSection> </PathDetailsMessage> <PathDetailsMessage> <MessageHeader> <MessageStatus>1 or 2 or 3</MessageStatus> <MessageReference xsi:nil="true" /> <Sender>int</Sender> <Recipient>int</Recipient> </MessageHeader> <RelatedReference> <RelatedType xsi:nil="true" /> <RelatedNumber>int</RelatedNumber> <RelatedMessageDateTime>dateTime</RelatedMessageDateTime> </RelatedReference> <PathIdentity> <PathIdent>string</PathIdent> <PathDeparturePoint xsi:nil="true" /> <PathDepartureTime>dateTime</PathDepartureTime> <PathDestinationPoint xsi:nil="true" /> <PathDestinationTime>dateTime</PathDestinationTime> <TrainNumber xsi:nil="true" /> </PathIdentity> <AcceptedJourneySection> <JourneySection xsi:nil="true" /> <TrainRunningData xsi:nil="true" /> </AcceptedJourneySection> <AcceptedJourneySection> <JourneySection xsi:nil="true" /> <TrainRunningData xsi:nil="true" /> </AcceptedJourneySection> <PathDetailsOltisSection> <Calendar_Ident xsi:nil="true" /> <RIN_RU_Ident>string</RIN_RU_Ident> <RIN_IM_Ident>string</RIN_IM_Ident> <Designer_Ident xsi:nil="true" /> <NumberAlternativePath>short</NumberAlternativePath> <RecommendedAlternativePath>boolean</RecommendedAlternativePath> <MaxVerdictTime>dateTime</MaxVerdictTime> <NoteIM>string</NoteIM> <Code1IM>short</Code1IM> <TextCode1IM>string</TextCode1IM> <Code2IM>short</Code2IM> <TextCode2IM>string</TextCode2IM> <PriceCapacity>string</PriceCapacity> <Info_Ident xsi:nil="true" /> <JourneySequenceNumber xsi:nil="true" /> <JourneySequenceNumber xsi:nil="true" /> <TrainID>string</TrainID> <PA>string</PA> <Product>int</Product> <OfferPrice>string</OfferPrice> <TypeOfInformation>integer</TypeOfInformation> <CZ_PR_Bitmap>string</CZ_PR_Bitmap> <CZ_PR_StartDate>dateTime</CZ_PR_StartDate> <CZ_PR_EndDate>dateTime</CZ_PR_EndDate> </PathDetailsOltisSection> </PathDetailsMessage> </RequestOnSelectedPathResult> </RequestOnSelectedPathResponse> </soap12:Body> </soap12:Envelope>