Method for Releasing DID
If you’ve already bought a number from ‘didx.net’ and want to return this DID, this webservice can help you do that. You’d have to provide DIDx User ID, Password and DID Number you want to release.
We are providing a sample code in PHP that accesses and uses this service.
$soapclient= new soapclient(‘http://api.didx.net/webservice/WebReleaseDIDServer.php’);
$SoapResult = array();
$SoapResult = $soapclient->call(“ReleaseDID”, $parameters,’urn:ReleaseDID’);
First argument is the DIDx User ID, second the password, third the DID number that you've bought and want to release. In case of successful releasing the same DID number would be returned. Otherwise, it will return an error code.
It will return an ‘Error Code’ in case there is some thing wrong with the information provided or there is no matching data in our record.
-1 = User ID does not exist
-2 = DID does not exist.
-3 = This DID is not in your ownership.
-4 = No such DID Number exists.