Getting All Information in the account.
- Method For User Information
- Method:UserInformation (UserID, Pass)
-
- UserID:Numeric Account ID or the email address registered with virtualphoneline.com.
- Pass: MD5 Encrypted Password
- Return Type: Array
- Return Values:
- Upon successfull authentication, the method will return an array containing User Name , Email, Telephone Number, Balance, Total DIDs, Master Talk Time Balance, Total Individual Numbers Talk Time, SMS Configuration Code for Ringto
- Error Codes:
- -1 : Invalid Reseller UID and Password
- Example Code:
- require_once "nusoap.php";
- $parameters$parameters=array("9023848",md5("xxxxx"));
- #print_r($parameters);
- $soapclient= new soapclientnusoap('http://www.virtualphoneline.com/webservice/CFMSUserInformation.php');
- $SoapResult = array();
- $SoapResult = $soapclient->call("UserInformation", $parameters,'urn:UserInformation);
- print_r($SoapResult);
- exit;
|