Reverse GeoCoder:Response Record Elements

From Melissa Data Wiki
Revision as of 23:53, 2 October 2014 by Admin (talk | contribs) (Created page with "← Reverse GeoCoder Web Service Reference {| class="mw-collapsible" cellspacing="2" style="background-color:#f9f9f9; border:1px...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

← Reverse GeoCoder Web Service Reference

Reverse GeoCoder Web Service Navigation
Introduction
Licensing
Request
Request Elements
Example Request
Response
Response Elements
Response Record Elements
Example Response
Result Codes
Result Code Use
Returned Result Codes
Sample Code



AddressLine1

Returns the street address (street number and street name) that corresponds to the input geo coordinates.

SOAP

string = Response.Records.AddressLine1

JSON

“AddressLine1”:”string”

XML

<ResponseArray>
  <Records>
    <ResponseRecord>
      <AddressLine1>string</AddressLine1>
    </ResponseRecord>
  </Records>
</ResponseArray>


SuiteName

Returns the suite name of the address returned. Values that could be returned are: Ste, Apt., etc.

SOAP

string = Response.Records.SuiteName

JSON

“SuiteName”:”string”

XML

<ResponseArray>
  <Records>
    <ResponseRecord>
      <SuiteName>string</SuiteName>
    </ResponseRecord>
  </Records>
</ResponseArray>

SuiteCount

Returns the number of suites in a particular building. Zero will be returned if the address has a no suites (a single delivery point).

SOAP

string = Response.Records.SuiteCount

JSON

“SuiteCount”:”string”

XML

<ResponseArray>
  <Records>
    <ResponseRecord>
      <SuiteCount>string</SuiteCount>
    </ResponseRecord>
  </Records>
</ResponseArray>


City

Returns the city of the output address.

SOAP

string = Response.Records.City

JSON

“City”:”string”

XML

<ResponseArray>
  <Records>
    <ResponseRecord>
      <City>string</City>
    </ResponseRecord>
  </Records>
</ResponseArray>


State

Returns the State of the output address.

SOAP

string = Response.Records.State

JSON

“State”:”string”

XML

<ResponseArray>
  <Records>
    <ResponseRecord>
      <State>string</State>
    </ResponseRecord>
  </Records>
</ResponseArray>


PostalCode

Returns the Postal Code of the output address.

SOAP

string = Response.Records.PostalCode

JSON

“PostalCode”:”string”

XML

<ResponseArray>
  <Records>
    <ResponseRecord>
      <PostalCode>string</PostalCode>
    </ResponseRecord>
  </Records>
</ResponseArray>


AddressKey

Returns a unique identifier for an address. This key can be used with other current and future Melissa Data services.

SOAP

string = Response.Records.AddressKey

JSON

“AddressKey”:”string”

XML

<ResponseArray>
  <Records>
    <ResponseRecord>
      <AddressKey>string</AddressKey>
    </ResponseRecord>
  </Records>
</ResponseArray>


Latitude

Returns the latitude geographic coordinate of the output address.

SOAP

string = Response.Records.Latitude

JSON

“Latitude”:”string”

XML

<ResponseArray>
  <Records>
    <ResponseRecord>
      <Latitude>string</Latitude>
    </ResponseRecord>
  </Records>
</ResponseArray>


Longitude

Returns the longitude geographic coordinate of the output address.

SOAP

string = Response.Records.Longitude

JSON

“Longitude”:”string”

XML

<ResponseArray>
  <Records>
    <ResponseRecord>
      <Longitude>string</Longitude>
    </ResponseRecord>
  </Records>
</ResponseArray>


Distance

Returns the distance between the input coordinates and the output coordinates. A distance of zero indicates that an exact address match was returned for the input geographic coordinates.

SOAP

string = Response.Records.Distance

JSON

“Distance”:”string”

XML

<ResponseArray>
  <Records>
    <ResponseRecord>
      <Distance>string</Distance>
    </ResponseRecord>
  </Records>
</ResponseArray>