Knowladge Base

GET THE LIST OF PURCHASED NUMBERS FROM YOUR ACCOUNT

Method for Getting Purchased Numbers

This method returns the list of available DIDs which you have purchased in your account.

Method Signature

getMyPurchasedNumbers($UserID,$Password,$PageNo,$SortBy,$SortOrder)

$UserID: DIDx Account No.
$Pass: Password of your account.
$PageNo: The DIDs will be returned in a block of 50 for each page, sorted by purchased date.
$SortBy: Numeric value to specify sorting parameter

Sorting can be based on:
0: DIDNumber
1: Setup Charges
2: Monthly Charges
3: Per Minutes Charges
4: Country
5: Area
6: Country Code
7: Area Code

$SortOrder: 1 for descending order, 0 for ascending order

Example :

http://newapi.didx.net/DidxApisWithJsonResponse/api/getMyPurchasedNumbers.php?UserID=700232&Password=23333

The above example may show DIDs of 2nd block of 50 DIDs, sorted by Country in ascending order.

Return Fields:

DIDNumber
OurSetupCost
OurMonthlyCharges
OurPerMinuteCharges
Country
Area
CountryCode
StateCode
VendorID
RateCenter
DIDID
HideNumber
CountryID
SMSEnable
VoiceEnable
VanityRating
TestStatus
PurchasedDate
RingTo
RingToType
FreeMinutes

– Method for Getting Purchased Numbers By Country/Area Code

This method returns the list of available DIDs of particular country code or area code provided, which you have purchased in your account.

Method Signature

getMyPurchasedNumbers($UserID,$Password,$CountryCode,$AreaCode)

$UserID: DIDx Account No.
$Pass: Password of your account.
$CountryCode: Country Code of the DID Numbers
$AreaCode: Area Code of the DID Numbers

Example:

http://newapi.didx.net/DidxApisWithJsonResponse/api/getMyPurchasedNumbersByCountryCodeAreaCode.php?UserID=700234&Password=34324234

DIDNumber
OurSetupCost
OurMonthlyCharges
OurPerMinuteCharges
Country
Area
CountryCode
StateCode
VendorID
RateCenter
DIDID
HideNumber
CountryID
SMSEnable
VoiceEnable
VanityRating
TestStatus
PurchasedDate
RingTo
RingToType
FreeMinutes