Knowladge Base

GET A LIST OF AVAILABLE CHANNEL BASED DIDS

METHOD FOR GETTING AVAILABLE CHANNEL BASED

This method returns the list of available DIDs which have been offered as Channel Based DIDs rather per minute charges with limited minutes.

Method Signature

sub GetChannelSupportedDIDsByPrefix($UserID,$Password,$CountryCode,$VendorRatingFrom,$VendorRatingTo, $Vendors (csv values), $RateFrom, $RateTo,$CountryID)

Example :

http://newapi.didx.net/DidxApisWithJsonResponse/api/GetChannelSupportedDIDsByPrefix.php?UserID=700000&Password=323243&CountryCode=1570

he first two arguments passed to the method are user id and password. The third argument is the country code / area code prefix e.g. 1567, the fourth represents starting Rating and the fifth represents the ending Rating. In this case, we’ve provided ratings from 5 to Vendor Rating 9. (Optional: Then sixt list of preferred vendors in csv, seventh & eight are monthly charges range, 9th is the country ID)

Fields Returned:
DIDNumber
OurSetupCost?
OurMonthlyCharges?
OurPerMinuteCharges?
Country
Area
CountryCode?
StateCode?
VendorID
RateCenter?
DIDID
HideNumber?
CountryID
SMSEnable
VoiceEnable?
ChannelSetup?
ChannelMonthly?
TotalChannels?
ChannelID

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 = User ID does not exist
-2 = Your Password is Incorrect
-3 = There are no rated DIDs Areas available in our record