Client Activities
- Method For Master Adding Talk Time in the Account
- Method:AddMasterTalkTime (UserID, Pass, Amount_In_Dollars)
-
- UserID:Numeric Account ID or the email address registered with sandbox.virtualphoneline.com
- Pass: MD5 Encrypted Password
- Amount:Amount of the talk time being added in Dollars/
- Return Type: String
- Return Values:
- Upon successfull authentication, the method will return "1".
- Example Code:
- $parameters=array("9023848",md5("a63dg"),"5");
- #print_r($parameters);
- $soapclient= new soapclientnusoap('http://sandbox.virtualphoneline.com/webservice/CFMSClientActivities.php');
- $SoapResult = array();
- $SoapResult = $soapclient->call("AddMasterTalkTime", $parameters,'urn:AddMasterTalkTime');
- print_r($SoapResult);
- exit;
- Method For Adding Talk Time for DID number in the Account
- Method:AddDIDTalkTime (UserID, Pass, DIDNumber, Amount_In_Dollars)
-
- UserID:Numeric Account ID or the email address registered with virtualphoneline.com
- Pass: MD5 Encrypted Password
- DID Number:DID number where talk time is being added.
- Amount:Amount of the talk time being added in Dollars
- Return Type: String
- Return Values:
- Upon successfull authentication, the method will return "1".
- $parameters=array("9023848",md5("a63dg"),"15670001111","5");
- #print_r($parameters);
- $soapclient= new soapclientnusoap('http://www.virtualphoneline.com/webservice/CFMSClientActivities.php');
- $SoapResult = array();
- $SoapResult = $soapclient->call("AddDIDTalkTime", $parameters,'urn:AddDIDTalkTime');
- print_r($SoapResult);
|