//---------------------------------------------------------------------------------- public static bool SendSMS(string phone, string messageContent, string msgSpecialId) { FastApiSoapClient client = new FastApiSoapClient(); string response = client.SendSms(pUser, pPwd, sender, phone, messageContent, msgSpecialId, false, "", 0, ""); if (response == "OK") { return(true); } else { return(false); } }
//--------------------------- T.C. kimlik numaralarına (TCKN) kısa mesaj (SMS) gönderebileceğiniz web metodudur.Bir istekte en fazla 100 adet numaraya gönderim yapabilirsiniz public static bool SendSmsTaxNo(string taxno, string messageContent, string msgSpecialId) { FastApiSoapClient client = new FastApiSoapClient(); //api client oluşturuldu string response = client.SendSmsTaxNo(pUser, pPwd, sender, taxno, messageContent, msgSpecialId, false, "", 0, ""); if (response == "OK") { return(true); } else { return(false); } }