Get Multi Coverage List API

Purpose

The Multi Coverage API allows you to request a list that will provide you with all of you Map ID's, Name and .png of the coverage area.

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

POST /towercoverage.asmx HTTP/1.1
Host: api.towercoverage.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/GetMulticoverageList"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetMulticoverageList 
xmlns="http://tempuri.org/">
      <Account>string</Account>
      <key>string</key>
    </GetMulticoverageList>
  </soap:Body>
</soap:Envelope>

Response

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

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetMulticoverageListResponse 
xmlns="http://tempuri.org/">
      <GetMulticoverageListResult>
        <Multicoverage>
          <multicoverageid>int</multicoverageid>
          <multicoveragename>string</multicoveragename>
          <Pngfile>string</Pngfile>
          <Kmlfile>string</Kmlfile>
          <Error>string</Error>
        </Multicoverage>
        <Multicoverage>
          <multicoverageid>int</multicoverageid>
          <multicoveragename>string</multicoveragename>
          <Pngfile>string</Pngfile>
          <Kmlfile>string</Kmlfile>
          <Error>string</Error>
        </Multicoverage>
      </GetMulticoverageListResult>
    </GetMulticoverageListResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

Request

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 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetMulticoverageList 
xmlns="http://tempuri.org/">
      <Account>string</Account>
      <key>string</key>
    </GetMulticoverageList>
  </soap12:Body>
</soap12:Envelope>

Response

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 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetMulticoverageListResponse 
xmlns="http://tempuri.org/">
      <GetMulticoverageListResult>
        <Multicoverage>
          <multicoverageid>int</multicoverageid>
          <multicoveragename>string</multicoveragename>
          <Pngfile>string</Pngfile>
          <Kmlfile>string</Kmlfile>
          <Error>string</Error>
        </Multicoverage>
        <Multicoverage>
          <multicoverageid>int</multicoverageid>
          <multicoveragename>string</multicoveragename>
          <Pngfile>string</Pngfile>
          <Kmlfile>string</Kmlfile>
          <Error>string</Error>
        </Multicoverage>
      </GetMulticoverageListResult>
    </GetMulticoverageListResponse>
  </soap12:Body>
</soap12:Envelope> 

HTTP Get

Request

GET /towercoverage.asmx/GetMulticoverageList?Account=string&key=string HTTP/1.1
Host: api.towercoverage.com

Response

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

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfMulticoverage 
xmlns="http://tempuri.org/">
  <Multicoverage>
    <multicoverageid>int</multicoverageid>
    <multicoveragename>string</multicoveragename>
    <Pngfile>string</Pngfile>
    <Kmlfile>string</Kmlfile>
    <Error>string</Error>
  </Multicoverage>
  <Multicoverage>
    <multicoverageid>int</multicoverageid>
    <multicoveragename>string</multicoveragename>
    <Pngfile>string</Pngfile>
    <Kmlfile>string</Kmlfile>
    <Error>string</Error>
  </Multicoverage>
</ArrayOfMulticoverage>  

HTTP Post

Request

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

Account=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"?>
<ArrayOfMulticoverage 
xmlns="http://tempuri.org/">
  <Multicoverage>
    <multicoverageid>int</multicoverageid>
    <multicoveragename>string</multicoveragename>
    <Pngfile>string</Pngfile>
    <Kmlfile>string</Kmlfile>
    <Error>string</Error>
  </Multicoverage>
  <Multicoverage>
    <multicoverageid>int</multicoverageid>
    <multicoveragename>string</multicoveragename>
    <Pngfile>string</Pngfile>
    <Kmlfile>string</Kmlfile>
    <Error>string</Error>
  </Multicoverage>
</ArrayOfMulticoverage>