PublicService
Kliknij tutaj, aby uzyskać pełną listę operacji.
CNR_GetVehicleDepartures
Test
Formularz testowy jest dostępny tylko dla żądań z komputera lokalnego.SOAP 1.1
Poniżej zamieszczono przykładowe żądanie i odpowiedź SOAP 1.1. Zamiast symboli zastępczych należy podać rzeczywiste wartości.
POST /PublicService.asmx HTTP/1.1
Host: rkm.mzdik.radom.pl
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://PublicService/CNR_GetVehicleDepartures"
<?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>
<CNR_GetVehicleDepartures xmlns="http://PublicService/">
<s>string</s>
<id_wersja>decimal</id_wersja>
<nb_wozu>string</nb_wozu>
<id_kursu>string</id_kursu>
<nr_lini>string</nr_lini>
<war_trasy>string</war_trasy>
<id_przyst>string</id_przyst>
</CNR_GetVehicleDepartures>
</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>
<CNR_GetVehicleDeparturesResponse xmlns="http://PublicService/">
<CNR_GetVehicleDeparturesResult>xml</CNR_GetVehicleDeparturesResult>
</CNR_GetVehicleDeparturesResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
Poniżej zamieszczono przykładowe żądanie i odpowiedź SOAP 1.2. Zamiast symboli zastępczych należy podać rzeczywiste wartości.
POST /PublicService.asmx HTTP/1.1
Host: rkm.mzdik.radom.pl
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>
<CNR_GetVehicleDepartures xmlns="http://PublicService/">
<s>string</s>
<id_wersja>decimal</id_wersja>
<nb_wozu>string</nb_wozu>
<id_kursu>string</id_kursu>
<nr_lini>string</nr_lini>
<war_trasy>string</war_trasy>
<id_przyst>string</id_przyst>
</CNR_GetVehicleDepartures>
</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>
<CNR_GetVehicleDeparturesResponse xmlns="http://PublicService/">
<CNR_GetVehicleDeparturesResult>xml</CNR_GetVehicleDeparturesResult>
</CNR_GetVehicleDeparturesResponse>
</soap12:Body>
</soap12:Envelope>