KWService


Click here for a complete list of operations.

insertPasaport

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/insertPasaport"

<?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>
    <insertPasaport xmlns="http://www.kolayturum.com/webservices/">
      <firmaid>int</firmaid>
      <donemid>int</donemid>
      <turid>int</turid>
      <bayiid>int</bayiid>
      <ilid>int</ilid>
      <tckimlik>string</tckimlik>
      <adi>string</adi>
      <soyadi>string</soyadi>
      <dyeri>string</dyeri>
      <dtarihi>string</dtarihi>
      <cinsiyet>int</cinsiyet>
      <medeniid>int</medeniid>
      <meslekid>int</meslekid>
      <meslek>string</meslek>
      <egitimid>int</egitimid>
      <pasno>string</pasno>
      <vyer>string</vyer>
      <vtar>string</vtar>
      <btar>string</btar>
      <ptipi>int</ptipi>
      <ulkekodu>string</ulkekodu>
      <adres>string</adres>
      <cep>string</cep>
      <stel>string</stel>
      <resim>string</resim>
      <mrz1>string</mrz1>
      <mrz2>string</mrz2>
      <kulid>int</kulid>
      <enjaz>int</enjaz>
    </insertPasaport>
  </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>
    <insertPasaportResponse xmlns="http://www.kolayturum.com/webservices/">
      <insertPasaportResult>int</insertPasaportResult>
    </insertPasaportResponse>
  </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>
    <insertPasaport xmlns="http://www.kolayturum.com/webservices/">
      <firmaid>int</firmaid>
      <donemid>int</donemid>
      <turid>int</turid>
      <bayiid>int</bayiid>
      <ilid>int</ilid>
      <tckimlik>string</tckimlik>
      <adi>string</adi>
      <soyadi>string</soyadi>
      <dyeri>string</dyeri>
      <dtarihi>string</dtarihi>
      <cinsiyet>int</cinsiyet>
      <medeniid>int</medeniid>
      <meslekid>int</meslekid>
      <meslek>string</meslek>
      <egitimid>int</egitimid>
      <pasno>string</pasno>
      <vyer>string</vyer>
      <vtar>string</vtar>
      <btar>string</btar>
      <ptipi>int</ptipi>
      <ulkekodu>string</ulkekodu>
      <adres>string</adres>
      <cep>string</cep>
      <stel>string</stel>
      <resim>string</resim>
      <mrz1>string</mrz1>
      <mrz2>string</mrz2>
      <kulid>int</kulid>
      <enjaz>int</enjaz>
    </insertPasaport>
  </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>
    <insertPasaportResponse xmlns="http://www.kolayturum.com/webservices/">
      <insertPasaportResult>int</insertPasaportResult>
    </insertPasaportResponse>
  </soap12:Body>
</soap12:Envelope>