Difference between revisions of "Reverse GeoCoder:Response Record Elements"

From Melissa Data Wiki
Jump to navigation Jump to search
(Redirected page to Reverse GeoCoder:Response)
 
Line 1: Line 1:
{{ ReverseGeoCoderNav
#REDIRECT [[Reverse GeoCoder:Response]]
|ResponseCollapse=
}}
 
 
{{CustomTOC}}
 
==AddressLine1==
Returns the street address (street number and street name) that corresponds to the input geo coordinates.
 
===SOAP===
<pre>
string = Response.Records.AddressLine1
</pre>
 
===JSON===
<pre>
“AddressLine1”:”string”
</pre>
 
===XML===
<pre>
<ResponseArray>
  <Records>
    <ResponseRecord>
      <AddressLine1>string</AddressLine1>
    </ResponseRecord>
  </Records>
</ResponseArray>
</pre>
 
 
==SuiteName==
Returns the suite name of the address returned. Values that could be returned are: Ste, Apt., etc.
 
===SOAP===
<pre>
string = Response.Records.SuiteName
</pre>
 
===JSON===
<pre>
“SuiteName”:”string”
</pre>
 
===XML===
<pre>
<ResponseArray>
  <Records>
    <ResponseRecord>
      <SuiteName>string</SuiteName>
    </ResponseRecord>
  </Records>
</ResponseArray>
</pre>
 
==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===
<pre>
string = Response.Records.SuiteCount
</pre>
 
===JSON===
<pre>
“SuiteCount”:”string”
</pre>
 
===XML===
<pre>
<ResponseArray>
  <Records>
    <ResponseRecord>
      <SuiteCount>string</SuiteCount>
    </ResponseRecord>
  </Records>
</ResponseArray>
</pre>
 
 
==City==
Returns the city of the output address.
 
===SOAP===
<pre>
string = Response.Records.City
</pre>
 
===JSON===
<pre>
“City”:”string”
</pre>
 
===XML===
<pre>
<ResponseArray>
  <Records>
    <ResponseRecord>
      <City>string</City>
    </ResponseRecord>
  </Records>
</ResponseArray>
</pre>
 
 
==State==
Returns the State of the output address.
 
===SOAP===
<pre>
string = Response.Records.State
</pre>
 
===JSON===
<pre>
“State”:”string”
</pre>
 
===XML===
<pre>
<ResponseArray>
  <Records>
    <ResponseRecord>
      <State>string</State>
    </ResponseRecord>
  </Records>
</ResponseArray>
</pre>
 
 
==PostalCode==
Returns the Postal Code of the output address.
 
===SOAP===
<pre>
string = Response.Records.PostalCode
</pre>
 
===JSON===
<pre>
“PostalCode”:”string”
</pre>
 
===XML===
<pre>
<ResponseArray>
  <Records>
    <ResponseRecord>
      <PostalCode>string</PostalCode>
    </ResponseRecord>
  </Records>
</ResponseArray>
</pre>
 
 
==AddressKey==
Returns a unique identifier for an address. This key can be used with other current and future Melissa Data services.
 
===SOAP===
<pre>
string = Response.Records.AddressKey
</pre>
 
===JSON===
<pre>
“AddressKey”:”string”
</pre>
 
===XML===
<pre>
<ResponseArray>
  <Records>
    <ResponseRecord>
      <AddressKey>string</AddressKey>
    </ResponseRecord>
  </Records>
</ResponseArray>
</pre>
 
 
==Latitude==
Returns the latitude geographic coordinate of the output address.
 
===SOAP===
<pre>
string = Response.Records.Latitude
</pre>
 
===JSON===
<pre>
“Latitude”:”string”
</pre>
 
===XML===
<pre>
<ResponseArray>
  <Records>
    <ResponseRecord>
      <Latitude>string</Latitude>
    </ResponseRecord>
  </Records>
</ResponseArray>
</pre>
 
 
==Longitude==
Returns the longitude geographic coordinate of the output address.
 
===SOAP===
<pre>
string = Response.Records.Longitude
</pre>
 
===JSON===
<pre>
“Longitude”:”string”
</pre>
 
===XML===
<pre>
<ResponseArray>
  <Records>
    <ResponseRecord>
      <Longitude>string</Longitude>
    </ResponseRecord>
  </Records>
</ResponseArray>
</pre>
 
 
==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===
<pre>
string = Response.Records.Distance
</pre>
 
===JSON===
<pre>
“Distance”:”string”
</pre>
 
===XML===
<pre>
<ResponseArray>
  <Records>
    <ResponseRecord>
      <Distance>string</Distance>
    </ResponseRecord>
  </Records>
</ResponseArray>
</pre>
 
 
[[Category:Reverse GeoCoder]]
[[Category:Reference]]

Latest revision as of 19:21, 8 March 2019