Reverse GeoCoder:Response Record Elements: Difference between revisions

From Melissa Data Wiki
Jump to navigation Jump to search
Created page with "← Reverse GeoCoder Web Service Reference {| class="mw-collapsible" cellspacing="2" style="background-color:#f9f9f9; border:1px..."
 
No edit summary
Line 1: Line 1:
[[Reverse GeoCoder Web Service:Reference|← Reverse GeoCoder Web Service Reference]]
{{ ReverseGeoCoderNav
 
|ResponseCollapse=
{| class="mw-collapsible" cellspacing="2" style="background-color:#f9f9f9; border:1px solid #aaaaaa; font-size:9pt; color:#0645ad; padding:8px 8px;"
}}
! style="text-align:left; color:black; border-bottom:1px solid #aaaaaa;"|'''Reverse GeoCoder Web Service Navigation'''
|-
| style="padding-right:220px;"|
|-
|
{| class="mw-collapsible mw-collapsed" style="width:100%;"
|- align="left"
! style="color:black;"|[[Reverse GeoCoder Web Service:Introduction|Introduction]]
|-
|[[Reverse GeoCoder Web Service:Licensing|Licensing]]
|}
|-
|
{| class="mw-collapsible mw-collapsed" style="width:100%;"
|- align="left"
! style="color:black;"|[[Reverse GeoCoder Web Service:Request|Request]]
|-
|[[Reverse GeoCoder Web Service:Request Elements|Request Elements]]
|-
|[[Reverse GeoCoder Web Service:Example Request|Example Request]]
|}
|-
|
{| class="mw-collapsible" style="width:100%;"
|- align="left"
! style="color:black;"|[[Reverse GeoCoder Web Service:Response|Response]]
|-
|[[Reverse GeoCoder Web Service:Response Elements|Response Elements]]
|-
|[[Reverse GeoCoder Web Service:Response Record Elements|Response Record Elements]]
|-
|[[Reverse GeoCoder Web Service:Example Response|Example Response]]
|}
|-
|
{| class="mw-collapsible mw-collapsed" style="width:100%;"
|- align="left"
! style="color:black;"|[[Reverse GeoCoder Web Service:Result Codes|Result Codes]]
|-
|[[Reverse GeoCoder Web Service:Result Codes#Result Code Use|Result Code Use]]
|-
|[[Returned Result Codes:Web Services#Reverse GeoCoder Web Service|Returned Result Codes]]
|}
|-
|
{| <!--class="mw-collapsible mw-collapsed"--> style="width:100%;"
|- align="left"
! style="color:black;"|[[Reverse GeoCoder Web Service:Sample Code|Sample Code]]
|}
|}




Line 305: Line 255:




[[Category:Reverse GeoCoder Web Service]]
[[Category:Reverse GeoCoder]]
[[Category:Reference]]
[[Category:Reference]]

Revision as of 22:58, 10 March 2015

← 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>