January 09, 2015
GetAreas JSON Service
This function will provide a JSON formatted list of areas where numbers are available for purchase
Meta:
GetAreas(Username, Password, CountryCode)
Sample usage:
POST:
curl -X POST http://api.multitel.net/json/getareas \
--data-urlencode "UserName=USERNAME" \
--data-urlencode "Password=PASSWORD" \
--data-urlencode "CountryCode=US" \
GET:
curl -X GET http://api.multitel.net/json/getareas/USERNAME/PASSWORD/US
Please note that for both POST and GET you can also obtain the XML formatted output by using the following base link:
http://api.multitel.net/xml/getareas/
Or, for PHP-Curl/HTML example, see below:
Result will be:
Please note that CLATITUDE and CLONGITUDE refer to Country Latitude and Country Longitude.