![]() | SOAP SMS API Kullanım Kılavuzunu indirmek için TIKLAYINIZ! |
|
|
public UserInfo GetInfo(string username, string company_code, string password)
<?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>
<GetInfo xmlns="http://tempuri.org/">
<username>mobildev</username>
<company_code>mb1000</company_code>
<password>1234</password>
</GetInfo>
</soap:Body>
</soap:Envelope>
<?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>
<GetInfoResponse xmlns="http://tempuri.org/">
<GetInfoResult>
<Credit>int</Credit>
<Originators>
<string>string</string>
<string>string</string>
</Originators>
<Status>int</Status>
<StatusString>string</StatusString>
</GetInfoResult>
</GetInfoResponse>
</soap:Body>
</soap:Envelope>
public SMSResult SMSToMany(string username, string company_code, string password, string originator, string sendDate, string message, string numbers)
|
<?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>
<SMSToManyResponse xmlns="http://tempuri.org/">
<SMSToManyResult>
<StatusCode>int</StatusCode>
<StatusText>string</StatusText>
<TimerID>11</TimerID>
</SMSToManyResult>
</SMSToManyResponse>
</soap:Body>
</soap:Envelope>
<?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>
<SMSToManyResponse xmlns="http://tempuri.org/">
<SMSToManyResult>
<StatusCode>int</StatusCode>
<StatusText>string</StatusText>
<TimerID>string11</TimerID>
</SMSToManyResult>
</SMSToManyResponse>
</soap:Body>
</soap:Envelope>
public SMSResult SMSToManyConcat(string username, string company_code, string password, string originator, string sendDate, string message, string numbers)
|
1 ile 153 karakter arası 1 SMS |
153 ile 306 karakter arası 2 SMS |
306 ile 459 karakter arası 3 SMS |
459 ile 612 karakter arası 4 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>
<SMSToManyConcat xmlns="http://tempuri.org/">
<username>test</username>
<company_code>mb1000</company_code>
<password>1234</password>
<originator>mobildev</originator>
<sendDate>2012-06-18</sendDate>
<message>mutlu yillar</message>
<numbers>05321234567</numbers>
</SMSToManyConcat>
</soap:Body>
</soap:Envelope>
<?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>
<SMSToManyResponse xmlns="http://tempuri.org/">
<SMSToManyResult>
<StatusCode>int</StatusCode>
<StatusText>string</StatusText>
<TimerID>string</TimerID>
</SMSToManyResult>
</SMSToManyResponse>
</soap:Body>
</soap:Envelope>
public SMSResult SMSMultiSenders(string username, string company_code, string password, string originator, string senddate, SMSInfo[] smsInfoArray)
|
<?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>
<SMSMultiSenders xmlns="http://tempuri.org/">
<username>test</username>
<company_code>mb1000</company_code>
<password>1234</password>
<originator>mobildev</originator>
<senddate>2012-06-18</senddate>
<smsInfoArray>
<SMSInfo>
<GSMNo>05321234567</GSMNo>
<Message>mutlu yillar</Message>
</SMSInfo>
<SMSInfo>
<GSMNo>05329876543</GSMNo>
<Message>dogum gununuz kutlu olsun</Message>
</SMSInfo>
</smsInfoArray>
</SMSMultiSenders>
</soap:Body>
</soap:Envelope>
<?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>
<SMSMultiSendersResponse xmlns="http://tempuri.org/">
<SMSMultiSendersResult>
<StatusCode>int</StatusCode>
<StatusText>string</StatusText>
<TimerID>11</TimerID>
</SMSMultiSendersResult>
</SMSMultiSendersResponse>
</soap:Body>
</soap:Envelope>
public SMSResult SMSMultiSendersConcat(string username, string company_code, string password, string originator, string senddate, SMSInfo[] smsInfoArray)
|
<?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>
<SMSMultiSenders xmlns="http://tempuri.org/">
<username>test</username>
<company_code>mb1000</company_code>
<password>1234</password>
<originator>mobildev</originator>
<senddate>2012-12-31</senddate>
<smsInfoArray>
<SMSInfo>
<GSMNo>05321234567</GSMNo>
<Message>01.01.2012 tarihinde saat 10.00’da Kadikoy Bahariye Caddesinde gerceklesecek olan acilisimizda siz degerli müsterimizi gormekten memnuniyet duyacagimizi belirtiriz.</Message>
</SMSInfo>
<SMSInfo>
<GSMNo>05329876543</GSMNo>
<Message>10.01.2012 tarihinde saat 11.00’de Kadikoy Bahariye subemizde gerceklesecek ucretsiz cilt bakim uygulamasinin yani sira %20’ye varan indirim ve surpriz hediyeleri kacirmayin…</Message>
</SMSInfo>
</smsInfoArray>
</SMSMultiSenders>
</soap:Body>
</soap:Envelope>
<?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>
<SMSMultiSendersResponse xmlns="http://tempuri.org/">
<SMSMultiSendersResult>
<StatusCode>int</StatusCode>
<StatusText>string</StatusText>
<TimerID>11</TimerID>
</SMSMultiSendersResult>
</SMSMultiSendersResponse>
</soap:Body>
</soap:Envelope>
Test Hesabı AlProjem Var! |
|
|
public ReportResult DateReport(string username, string company_code, string password,string fDate, string eDate)
<?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>
<DateReport xmlns="http://tempuri.org/">
<username>test</username>
<company_code>mb1000</company_code>
<password>1234</password>
<fDate>2012-01-25</fDate>
<eDate>2012-01-31</eDate>
</DateReport>
</soap:Body>
</soap:Envelope>
<?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>
<DateReportResponse xmlns="http://tempuri.org/">
<DateReportResult>
<Status>int</Status>
<StatusString>string</StatusString>
<ReportInfos>
<ReportInfo>
<TimerID>11</TimerID>
<GSMNo>05321234567</GSMNo>
<StatusCode>string</StatusCode>
<StatusText>string</StatusText>
</ReportInfo>
<ReportInfo>
<TimerID>11</TimerID>
<GSMNo>05321234567</GSMNo>
<StatusCode>string</StatusCode>
<StatusText>string</StatusText>
</ReportInfo>
</ReportInfos>
</DateReportResult>
</DateReportResponse>
</soap:Body>
</soap:Envelope>
|
Hata Kodu | Açıklama |
01 | Hatalı Kullanıcı Adı Hatalı Şifre Hatalı Bayi Kodu |
02 | Yetersiz kredi |
06 | Tanımsız Originator bilgisi |
07 | Mesaj kodu (ID) yok |
08 | Verilen tarihler arasında SMS gönderimi yok |
09 | Tarih alanları boş - hatalı |
10 | SMS gönderilemedi |
11 | Tanımlanamayan hata |
13 | Rapor istenen kullanıcı yok |
14 | Mesaj metni 160 karakterden uzun |
15 | Paket boyutu 30.000'den fazla olamaz |
Test Hesabı AlProjem Var! |