Knowladge Base

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:

http://newapi.didx.net/DidxApisWithJsonResponse/api/OfferDIDToSale.php?UserID=700234&Password=333434&DIDNumber=1234567243

For $Codec,$AllowForCallingCard and $NetworkOrReseller, allowed values are “0” (NO) or “1” (YES)

On successfull command, the function will return “1”.

ErrorCode:

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