Get Frequency List API
Purpose
The Frequency List API is used to request the current list of Frequencies available and the value assigned to each. This list is used during using the Coverage Creation API so that a valid value is used to select a frequency.
Fields
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.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
SOAP 1.1
Request
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | POST /towercoverage.asmx HTTP/1.1 Host: api.towercoverage.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/GetFrequencyList" <? xml version = "1.0" encoding = "utf-8" ?> < soap:Envelope < soap:Body > < GetFrequencyList < Account >string</ Account > < key >string</ key > </ GetFrequencyList > </ soap:Body > </ soap:Envelope > |
Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <? xml version = "1.0" encoding = "utf-8" ?> < soap:Envelope < soap:Body > < GetFrequencyListResponse < GetFrequencyListResult > < Frequency > < frequencyid >int</ frequencyid > < frequencyname >string</ frequencyname > < Error >string</ Error > </ Frequency > < Frequency > < frequencyid >int</ frequencyid > < frequencyname >string</ frequencyname > < Error >string</ Error > </ Frequency > </ GetFrequencyListResult > </ GetFrequencyListResponse > </ soap:Body > </ soap:Envelope > |
SOAP 1.2
Request
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | POST /towercoverage.asmx HTTP/1.1 Host: api.towercoverage.com Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <? xml version = "1.0" encoding = "utf-8" ?> < soap12:Envelope < soap12:Body > < GetFrequencyList < Account >string</ Account > < key >string</ key > </ GetFrequencyList > </ soap12:Body > </ soap12:Envelope > |
Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <? xml version = "1.0" encoding = "utf-8" ?> < soap12:Envelope < soap12:Body > < GetFrequencyListResponse < GetFrequencyListResult > < Frequency > < frequencyid >int</ frequencyid > < frequencyname >string</ frequencyname > < Error >string</ Error > </ Frequency > < Frequency > < frequencyid >int</ frequencyid > < frequencyname >string</ frequencyname > < Error >string</ Error > </ Frequency > </ GetFrequencyListResult > </ GetFrequencyListResponse > </ soap12:Body > </ soap12:Envelope > |
HTTP Get
Request
1 2 3 4 5 | GET /towercoverage.asmx/GetFrequencyList? Account=string &key=string HTTP/1.1 Host: api.towercoverage.com |
Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <? xml version = "1.0" encoding = "utf-8" ?> < ArrayOfFrequency < Frequency > < frequencyid >int</ frequencyid > < frequencyname >string</ frequencyname > < Error >string</ Error > </ Frequency > < Frequency > < frequencyid >int</ frequencyid > < frequencyname >string</ frequencyname > < Error >string</ Error > </ Frequency > </ ArrayOfFrequency > |
HTTP Post
Request
1 2 3 4 5 6 7 | POST /towercoverage.asmx/GetFrequencyList HTTP/1.1 Host: api.towercoverage.com Content-Type: application/x-www-form-urlencoded Content-Length: length Account=string &key=string |
Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <? xml version = "1.0" encoding = "utf-8" ?> < ArrayOfFrequency < Frequency > < frequencyid >int</ frequencyid > < frequencyname >string</ frequencyname > < Error >string</ Error > </ Frequency > < Frequency > < frequencyid >int</ frequencyid > < frequencyname >string</ frequencyname > < Error >string</ Error > </ Frequency > </ ArrayOfFrequency > |