< back

PreQual API

Purpose

The PreQual API allows you to check if a given location is serviceable on your Network. When a request is made to api.towercoverage.com, the server will check that all values are valid and to ensure you have available calls on your account. If calls are available and all values are valid, it will provide a response of "yes" if the location is serviceable and "no" if it is not.

Fields

MCID

This field is a number value only. Each Multi Map on your account is assigned an ID when it is created. This number will never change until the map is deleted. You can locate the Multi Coverage ID by using the Get Multicoverage List API or by opening the map that you wish to use. The ID can also be found in the URL of the map or in the iframe code on the update tab.

Account

You can locate your Account ID in the API's Tab of your account settings and also within the iframe of your Multi Coverage.

Address / City / Country / State / Zip Code / Latitude / Longitude

When entering addresses, your state must be spelled out, abbreviations are not allowed. (example: United States). Although the address fields are not required and can be used for a request to be successful, it is advised that you utilize the Latitude and Longitude if known. If you enter a Latitude and Longitude, the address, city, state, country and Zip will be ignored.

All Lat/Long values must be entered in decimal degrees with appropriate positive or negative values depending on your location. (Example: 38.16484851, -91.5343546. Is a North America GPS Coordinate)

RxMargin

This field is not required if you would like to use all current coverage settings. Setting a RxMargin value will add or subtract accordingly to the RxThreshold of all included Coverages in the Multi Map you have submitted to.

Example: An RxMargin of 10 would change all that are set to -70 to -60. A -10 the result would be -80. Any decimal values will be rounded.

API Key

Your API key can be located on the API's tab of your account settings. This is a required field and is what the API server will use to determine if you have sufficient API calls available on your account.

Code Examples

HTTP Post

Request

    POST /towercoverage.asmx/EUSPrequalAPI HTTP/1.1
    Host: api.towercoverage.com
    Content-Type: application/x-www-form-urlencoded
    Content-Length: length

    multicoverageid=string&Account=string&Address=string&city=string&Country=string&State=string&zipcode=string&Latitude=string&Longitude=string&RxMargin=string&key=string

Response

    HTTP/1.1 200 OK
    Content-Type: text/xml; charset=utf-8
    Content-Length: length

    <?xml version="1.0" encoding="utf-8" ?>
    <string xmlns="http://tempuri.org/">string</string>