Service


İşlemlerin tam listesi için burayı tıklatın.

K7_Mobile_Device_Register

Apple Device Settings

Sınama

HTTP POST protokolünü kullanarak işlemi sınamak için, 'Çağır' düğmesini tıklatın.
Parametre Değer
username:
password:
devicename:
devicetoken:
adsoyad:
telefon:
deviceid:

SOAP 1.1

Aşağıdaki örnekte bir SOAP 1.1 isteği ve yanıtı yer alıyor. Gösterilen yer tutucular gerçek değerlerle değiştirilmelidir.

POST /service.asmx HTTP/1.1
Host: servismobil.afyon.bel.tr
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.k7.com.tr/K7_Mobile_Device_Register"

<?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>
    <K7_Mobile_Device_Register xmlns="http://www.k7.com.tr">
      <username>string</username>
      <password>string</password>
      <devicename>string</devicename>
      <devicetoken>string</devicetoken>
      <adsoyad>string</adsoyad>
      <telefon>string</telefon>
      <deviceid>string</deviceid>
    </K7_Mobile_Device_Register>
  </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>
    <K7_Mobile_Device_RegisterResponse xmlns="http://www.k7.com.tr">
      <K7_Mobile_Device_RegisterResult>
        <durum>string</durum>
      </K7_Mobile_Device_RegisterResult>
    </K7_Mobile_Device_RegisterResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

Aşağıdaki örnekte bir SOAP 1.2 isteği ve yanıtı yer alıyor. Gösterilen yer tutucular gerçek değerlerle değiştirilmelidir.

POST /service.asmx HTTP/1.1
Host: servismobil.afyon.bel.tr
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>
    <K7_Mobile_Device_Register xmlns="http://www.k7.com.tr">
      <username>string</username>
      <password>string</password>
      <devicename>string</devicename>
      <devicetoken>string</devicetoken>
      <adsoyad>string</adsoyad>
      <telefon>string</telefon>
      <deviceid>string</deviceid>
    </K7_Mobile_Device_Register>
  </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>
    <K7_Mobile_Device_RegisterResponse xmlns="http://www.k7.com.tr">
      <K7_Mobile_Device_RegisterResult>
        <durum>string</durum>
      </K7_Mobile_Device_RegisterResult>
    </K7_Mobile_Device_RegisterResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

Aşağıdaki örnekte bir HTTP GET isteği ve yanıtı yer alıyor. Gösterilen yer tutucular gerçek değerlerle değiştirilmelidir.

GET /service.asmx/K7_Mobile_Device_Register?username=string&password=string&devicename=string&devicetoken=string&adsoyad=string&telefon=string&deviceid=string HTTP/1.1
Host: servismobil.afyon.bel.tr
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<Cihaz_Profil_Ayar xmlns="http://www.k7.com.tr">
  <durum>string</durum>
</Cihaz_Profil_Ayar>

HTTP POST

Aşağıdaki örnekte bir HTTP POST isteği ve yanıtı yer alıyor. Gösterilen yer tutucular gerçek değerlerle değiştirilmelidir.

POST /service.asmx/K7_Mobile_Device_Register HTTP/1.1
Host: servismobil.afyon.bel.tr
Content-Type: application/x-www-form-urlencoded
Content-Length: length

username=string&password=string&devicename=string&devicetoken=string&adsoyad=string&telefon=string&deviceid=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<Cihaz_Profil_Ayar xmlns="http://www.k7.com.tr">
  <durum>string</durum>
</Cihaz_Profil_Ayar>