Telephone Number
Telephone number search
Use to search for a telephone number. <span hidden>Refer to <a href="tnInventory.html#search-tn">Search Partition for Telephone Number</a> for more information.</span>
get/v2/partition/{partitionId}/telephonenumber/search
Request
- Base URLhttps://api.alianza.com
- AuthAPI key in header X-AUTH-TOKEN
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
partitionIdstring required
ID of partition, reference to <a href="#/~schema/Account">account.partitionId</a>
Query parameters
carrierIdstring
<a href="#/~schema/InboundCarrierX">inboundCarrierX.id</a>
functiontype'ELS' | 'TollFree' | 'TemporaryNumber' | 'SPTN'
Function Type, default ELS
latnumber double
Latitude, requires type=LAT_LONG
longnumber double
Latitude, requires type=LAT_LONG
maxResultsinteger
Number of results to return
qstring
Query Field: q=18015551212, q=84062, q=ALBANY, q=ALBANY.NY, LAT_LONG does not use this field
type'POSTALCODE_OR_TN' | 'TN' | 'POSTALCODE' | 'LAT_LONG' | 'RATECENTER' | 'RATECENTER_CARRIER'
Search Type, default POSTALCODE_OR_TN
Response
Successful operation
Changes
No recorded changes to this operation across all 1 revision of this API.