KWService


Click here for a complete list of operations.

yolcukaydet

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 /KWService.asmx HTTP/1.1
Host: webservis8.kolayturum.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.kolayturum.com/webservices/yolcukaydet"

<?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:Header>
    <CAuthentication xmlns="http://www.kolayturum.com/webservices/">
      <sor>string</sor>
      <sorma>string</sorma>
    </CAuthentication>
  </soap:Header>
  <soap:Body>
    <yolcukaydet xmlns="http://www.kolayturum.com/webservices/">
      <firmaid>int</firmaid>
      <turid>int</turid>
      <ucretid>int</ucretid>
      <bayiid>int</bayiid>
      <tckimlik>string</tckimlik>
      <adi>string</adi>
      <soyadi>string</soyadi>
      <dogumyeri>string</dogumyeri>
      <dtarihi>string</dtarihi>
      <cinsiyetid>int</cinsiyetid>
      <ulke>string</ulke>
      <pasno>string</pasno>
      <pasveryer>string</pasveryer>
      <pasvertarihi>string</pasvertarihi>
      <pasbittarihi>string</pasbittarihi>
    </yolcukaydet>
  </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>
    <yolcukaydetResponse xmlns="http://www.kolayturum.com/webservices/">
      <yolcukaydetResult>int</yolcukaydetResult>
    </yolcukaydetResponse>
  </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 /KWService.asmx HTTP/1.1
Host: webservis8.kolayturum.com
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:Header>
    <CAuthentication xmlns="http://www.kolayturum.com/webservices/">
      <sor>string</sor>
      <sorma>string</sorma>
    </CAuthentication>
  </soap12:Header>
  <soap12:Body>
    <yolcukaydet xmlns="http://www.kolayturum.com/webservices/">
      <firmaid>int</firmaid>
      <turid>int</turid>
      <ucretid>int</ucretid>
      <bayiid>int</bayiid>
      <tckimlik>string</tckimlik>
      <adi>string</adi>
      <soyadi>string</soyadi>
      <dogumyeri>string</dogumyeri>
      <dtarihi>string</dtarihi>
      <cinsiyetid>int</cinsiyetid>
      <ulke>string</ulke>
      <pasno>string</pasno>
      <pasveryer>string</pasveryer>
      <pasvertarihi>string</pasvertarihi>
      <pasbittarihi>string</pasbittarihi>
    </yolcukaydet>
  </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>
    <yolcukaydetResponse xmlns="http://www.kolayturum.com/webservices/">
      <yolcukaydetResult>int</yolcukaydetResult>
    </yolcukaydetResponse>
  </soap12:Body>
</soap12:Envelope>