getVoxnumberRegions

Request Method: GET

Description: Retrieves all Region for a defined search.

URL: https://api.iovox.com:444/Purchase?v=3&method=getVoxnumberRegions

The following parameters can be sent in the querystring

ParameterDescriptionDefault ValueData TypeMandatory
vAPI version to use
INTEGERYES
pageThe page number to return. Use together with limit to achieve paginated results1INTEGERNO
limitDetermines how many results to return. Use together with page to achieve paginated results. Maximum here is 2000020000INTEGERNO
number_typeReturns the Regions Details for the current region selected. number_type can be NATIONAL, GEOGRAPHIC, TOLLFREE
STRINGYES
area_codeReturns the Regions Details for the country_code selected.
STRINGYES
country_codeReturns the Regions Details for the area_code selected.
STRINGYES
req_fieldsComma separated list of abbreviated fields to return in response.ac=Area Code,cc=Country Code ,con=Country Name, stn=State Name, cin=City Name,ct=Cost
STRINGNO
outputSpecifying XML or JSON returns data in XML or JSON format XMLSTRINGNO

Result

Error Result

HTTP CodeError StringResolution
400API Version EmptyAdd a value for the v parameter in the query string
400API Version InvalidCorrect v parameter
400Request Method must be GET. x attemptedSwitch request method x to GET
400Page Number not an integerRemove non-numerics from page
400Limit not an integerRemove non-numerics from limit
400Limit must be between 1 and 20000Correct the limit parameter
400The requested Number Type is not validCorrect the number_type parameter for one of the possible values: NATIONAL, GEOGRAPHIC, TOLLFREE.
400Required Fields Invalid: fieldone,fieldtwoCorrect or remove fieldone and fieldtwo
400Output Type InvalidCorrect output parameter
500Internal Server ErrorRetry later

Success Result

<?xml version="1.0" encoding="utf-8"?>
<response>
     <current_page>1<current_page>
     <total_pages>4<total_pages>
     <total_results>100<total_results>
     <results>
         <result>
            <area_code>1224</area_code>
            <country_code>44</country_code>
            <country_name>UNITED KINGDOM</country_name>
            <state_name/>
            <city_name>ABERDEEN</city_name>
            <require_purchase_info>false</require_purchase_info>
         </result>
         <result>
             ...
         <result>
     </results>
 </response>