|
Search Google Translator Google Search |
Sellers API
This method allow seller to offer DID to sale over DIDx.net
Method Signature 1. OfferDIDToSale($UserID,$Pass,$DIDNumber,$CountryCOde,$AreaCode,$SetupCost,$MonthlyCost,$FreeMinutes,$PerMinCHargesAfterFreeMinutes,$Channels,$Codec,$AllowForCallingCard,$NetworkOrReseller); Example Code: <?php require_once "nusoap.php"; $parameters=array($UserID,$Pass,$DIDNumber,$CountryCOde,$AreaCode,$SetupCost,$MonthlyCost,$FreeMinutes,$PerMinCHargesAfterFreeMinutes,$Channels,$Codec,$AllowForCallingCard,$NetworkOrReseller); $soapclient= new soapclient('http://api.didx.net/webservice/WebOfferDIDServer.php'); $SoapResult = array(); $SoapResult = $soapclient->call("OfferDIDToSale", $parameters,'urn:OfferDIDToSale'); print_r($SoapResult); ?> For $Codec,$AllowForCallingCard and $NetworkOrReseller, allowed values are "0" (NO) or "1" (YES) On successfull command, the function will return "1". ErrorCodes: -1 : Invalid login info. -9 : Invalid US number -30: Invalid account type -10: Number already exist in the system -11: Invalid area or country code -12: Invalid area or country code -13: one of the arguments sent as blank -14: Restricted area codes -15: Invalid billing values |
Top Pages
|