TAFTSI
Úplný seznam operací zobrazíte kliknutím sem.
RequestOnAvailablePath
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/RequestOnAvailablePath" <?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> <RequestOnAvailablePath 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> <RequestOnAvailablePathOltisSection> <PathModificationDate>dateTime</PathModificationDate> <Applicant_Ident> <Name>string</Name> <Phone>string</Phone> <Email>string</Email> <LDAP_User>string</LDAP_User> <LDAP_Password>string</LDAP_Password> </Applicant_Ident> <AllPathsOfTheCompany>boolean</AllPathsOfTheCompany> </RequestOnAvailablePathOltisSection> </Message> <User_Ident> <LDAP_User>string</LDAP_User> <LDAP_Password>string</LDAP_Password> <Company>int</Company> </User_Ident> </RequestOnAvailablePath> </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> <RequestOnAvailablePathResponse xmlns="http://provoz.szdc.cz/kadr"> <RequestOnAvailablePathResult> <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> <PathOnAvailableOltisSection> <RIN_RU_Ident>string</RIN_RU_Ident> <RIN_IM_Ident>string</RIN_IM_Ident> <ModificationDate>dateTime</ModificationDate> </PathOnAvailableOltisSection> <PathOnAvailableOltisSection> <RIN_RU_Ident>string</RIN_RU_Ident> <RIN_IM_Ident>string</RIN_IM_Ident> <ModificationDate>dateTime</ModificationDate> </PathOnAvailableOltisSection> </RequestOnAvailablePathResult> </RequestOnAvailablePathResponse> </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> <RequestOnAvailablePath 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> <RequestOnAvailablePathOltisSection> <PathModificationDate>dateTime</PathModificationDate> <Applicant_Ident> <Name>string</Name> <Phone>string</Phone> <Email>string</Email> <LDAP_User>string</LDAP_User> <LDAP_Password>string</LDAP_Password> </Applicant_Ident> <AllPathsOfTheCompany>boolean</AllPathsOfTheCompany> </RequestOnAvailablePathOltisSection> </Message> <User_Ident> <LDAP_User>string</LDAP_User> <LDAP_Password>string</LDAP_Password> <Company>int</Company> </User_Ident> </RequestOnAvailablePath> </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> <RequestOnAvailablePathResponse xmlns="http://provoz.szdc.cz/kadr"> <RequestOnAvailablePathResult> <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> <PathOnAvailableOltisSection> <RIN_RU_Ident>string</RIN_RU_Ident> <RIN_IM_Ident>string</RIN_IM_Ident> <ModificationDate>dateTime</ModificationDate> </PathOnAvailableOltisSection> <PathOnAvailableOltisSection> <RIN_RU_Ident>string</RIN_RU_Ident> <RIN_IM_Ident>string</RIN_IM_Ident> <ModificationDate>dateTime</ModificationDate> </PathOnAvailableOltisSection> </RequestOnAvailablePathResult> </RequestOnAvailablePathResponse> </soap12:Body> </soap12:Envelope>