Reverse GeoCoder:Response Record Elements

From Melissa Data Wiki
Revision as of 22:58, 10 March 2015 by Admin (talk | contribs)
Jump to navigation Jump to search

← Reverse GeoCoder

Reverse GeoCoder Navigation
Introduction
Licensing
Input/Output
doLookup
  ↳  Request
  ↳  Response
doLookupPostalCodes
  ↳  Request
  ↳  Response
doLookupFromList
  ↳  Request
  ↳  Response
Examples
REST XML
REST JSON
JSON
XML
Result Codes
Result Code Use
Reverse GeoCoder 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>