Ciselniky
Úplný seznam operací zobrazíte kliknutím sem.
SeznamDuvodu
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/ciselniky.asmx HTTP/1.1 Host: provoz.spravazeleznic.cz Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://provoz.szdc.cz/kadr/SeznamDuvodu" <?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> <SeznamDuvodu xmlns="http://provoz.szdc.cz/kadr"> <jenAktualnePlatne>boolean</jenAktualnePlatne> </SeznamDuvodu> </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> <SeznamDuvoduResponse xmlns="http://provoz.szdc.cz/kadr"> <SeznamDuvoduResult ID="int" Nazev="string" Parametry="string" Popis="string"> <Duvod ID="int" Kod="int" Nazev="string" PlatnostOd="dateTime" PlatnostDo="dateTime" /> <Duvod ID="int" Kod="int" Nazev="string" PlatnostOd="dateTime" PlatnostDo="dateTime" /> </SeznamDuvoduResult> </SeznamDuvoduResponse> </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/ciselniky.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> <SeznamDuvodu xmlns="http://provoz.szdc.cz/kadr"> <jenAktualnePlatne>boolean</jenAktualnePlatne> </SeznamDuvodu> </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> <SeznamDuvoduResponse xmlns="http://provoz.szdc.cz/kadr"> <SeznamDuvoduResult ID="int" Nazev="string" Parametry="string" Popis="string"> <Duvod ID="int" Kod="int" Nazev="string" PlatnostOd="dateTime" PlatnostDo="dateTime" /> <Duvod ID="int" Kod="int" Nazev="string" PlatnostOd="dateTime" PlatnostDo="dateTime" /> </SeznamDuvoduResult> </SeznamDuvoduResponse> </soap12:Body> </soap12:Envelope>