Getting all forwarding types
- Method:GetForwardingTypes (UserID, Pass)
-
- UserID:Numeric Account ID or the email address registered with sandbox.virtualphoneline.com
- Pass: MD5 Encrypted Password
- Return Type: String
- Return Values:
- Upon successfull authentication, the method will return an array containing following feilds
- Forwarding Type
- Forwarding Carrier ID
- e.g. PSTN with ID 3, TruPhone with ID 42224
- Example Code:
- $parameters=array("000000",md5("ae762636272ff276236"));
- $soapclient= new soapclient('http://sandbox.virtualphoneline.com/webservice/CFMSCallForwardingManager.php');
- $SoapResult = array();
- $SoapResult = $soapclient->call("GetForwardingTypes", $parameters,'urn:GetForwardingTypes');
- print_r($SoapResult);
- exit;
|