sms


Click here for a complete list of operations.

send_sms

Bir mesajın bir veya daha fazla numaraya gönderilmesi işlemi
username=Kullanıcı adınız
password=şifreniz
vendor=bayi kodunuz
header=Gönderici Başlığı
message=Mesaj içeriği
gsm=Telefon Listesi
charset=mesajın kodlaması (default,turkish,unicode değerlerini alabilir)
startdate=Gönderim Başlayacağı tarih boş bırakılırsa hemen gönderim yapılır formatı (ggaayyyyssdd)
exdate=Mesajın son gönderim tarihi

Test

The test form is only available for methods with primitive types as parameters.

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 /sms_soap/sms.asmx HTTP/1.1
Host: g.ajanswebsms.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://g.iletimx.com/sms_soap/send_sms"

<?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>
    <send_sms xmlns="http://g.iletimx.com/sms_soap/">
      <username>string</username>
      <password>string</password>
      <vendor>string</vendor>
      <header>string</header>
      <message>string</message>
      <gsm>
        <string>string</string>
        <string>string</string>
      </gsm>
      <charset>string</charset>
      <startdate>string</startdate>
      <exdate>string</exdate>
    </send_sms>
  </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>
    <send_smsResponse xmlns="http://g.iletimx.com/sms_soap/">
      <send_smsResult>string</send_smsResult>
    </send_smsResponse>
  </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 /sms_soap/sms.asmx HTTP/1.1
Host: g.ajanswebsms.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:Body>
    <send_sms xmlns="http://g.iletimx.com/sms_soap/">
      <username>string</username>
      <password>string</password>
      <vendor>string</vendor>
      <header>string</header>
      <message>string</message>
      <gsm>
        <string>string</string>
        <string>string</string>
      </gsm>
      <charset>string</charset>
      <startdate>string</startdate>
      <exdate>string</exdate>
    </send_sms>
  </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>
    <send_smsResponse xmlns="http://g.iletimx.com/sms_soap/">
      <send_smsResult>string</send_smsResult>
    </send_smsResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /sms_soap/sms.asmx/send_sms?username=string&password=string&vendor=string&header=string&message=string&gsm=string&gsm=string&charset=string&startdate=string&exdate=string HTTP/1.1
Host: g.ajanswebsms.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://g.iletimx.com/sms_soap/">string</string>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /sms_soap/sms.asmx/send_sms HTTP/1.1
Host: g.ajanswebsms.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

username=string&password=string&vendor=string&header=string&message=string&gsm=string&gsm=string&charset=string&startdate=string&exdate=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://g.iletimx.com/sms_soap/">string</string>