Reserve a DID

Method for Reserve a DID

By using this method the user can reserve a DID. The user has to provide user id, password, DID Number (which he wants to reserve).

In case of successful reserve, the DID number itself would be returned. Otherwise, an error code would be returned which is described later.

Method Signature

function ReserveDIDByNumber($UserID,$Password,$DIDNumber)

Example Usage

We are providing a sample code in PHP that accesses and uses this service.


require_once "nusoap.php";

$soapclient= new soapclient('');
$SoapResult = array();
$SoapResult = $soapclient->call("ReserveDIDByNumber", $parameters,'urn:ReserveDIDByNumber');



Error Codes

In case of any incorrect information provided by the user or in case of no matching data, an error code will be returned. Error codes correspond to the following messages:

-1 = Invalid User ID & Password
-3 = This DID Number is already Reserved
-4 = This DID Number is already Sold
-5 = DID Number doesn't exit

Created by muneeb. Last Modification: Thursday 31 of January, 2013 03:43:58 CST by muneeb.

Google Translator

Google Search