Getting all purchased numbers in the account.

URL: http://virtualphoneline.com/webservice/CFMSGetUserNumbers.php

  • Method:GetUserNumbers (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
    • Number

    • Forwarding Address/Number
    • Date of purchasing
    • Country of Number
    • City of Number
    • Rate center of Number
    • ID of Forwarding Address

    • Forwarding Address Type (e.g. PSTN, SIP, IAX, Google, MSN, FAX etc)

  • Example Code:

    • $parameters=array("000000",md5("ae762636272ff276236"));
    • $soapclient= new soapclient('http://sandbox.virtualphoneline.com/webservice/CFMSGetUserNumbers.php');
    • $SoapResult = array();
    • $SoapResult = $soapclient->call("GetUserNumbers", $parameters,'urn:GetUserNumbers');

    • print_r($SoapResult);