Send SMS API.

URL: http://www.virtualphoneline.com/webservice/SendSMSapi.php

    • Method For User Information

  • Method: SendMessage (UserID,Pass,SMSTo,SMSFrom,Message)
  • UserID: Numeric Account ID or the email address registered with virtualphoneline.com.
  • Pass: MD5 Encrypted Password
  • SendTo: Send sms to.
  • SmsForm: SMS sender name or number.
  • Message: URL encoded message.
  • Return Type: Number
  • Return Values: Upon successfull operation, the method will return you a 1.

  • Example Code:

    • require_once "nusoap.php";

    • $parameters=array('373042',md5('XXXXX'),'447937900030','123456',urlencode('Developer API testing'));
    • #print_r($parameters);
    • $soapclient= new soapclientnusoap('http://virtualphoneline.com/webservice/SendSMSapi.php');
    • $SoapResult = array();
    • $SoapResult = $soapclient->call('SendMessage', $parameters,'urn:SendMessage');

    • print_r($SoapResult);

    • exit;