Reverse GeoCoder:REST XML: Difference between revisions

From Melissa Data Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 17: Line 17:
&recs={MaxRecords}
&recs={MaxRecords}
&t={TransmissionReference}
&t={TransmissionReference}
&format=xml
</pre>
</pre>



Revision as of 22:16, 7 March 2019

← 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



REST Request

There is no recordID element because a REST request can only submit one record per request:

http://ReverseGeo.melissadata.net/V3/WEB/ReverseGeoCode/doLookup
?id={CustomerId}
&lat={Latitude}
&long={Longitude}
&dist={MaxDistance}
&recs={MaxRecords}
&t={TransmissionReference}
&format=xml


XML Response

<ResponseArray>
  <Version>string</Version>
  <TransmissionReference>string</TransmissionReference>
  <TransmissionResults>string</TransmissionResults>
  <Results>string</Results>
  <TotalRecords>string</TotalRecords>
  <Records>
    <ResponseRecord>
      <AddressLine1>string</AddressLine1>
      <SuiteName>string</SuiteName>
      <SuiteCount>string</SuiteCount>
      <City>string</City>
      <State>string</State>
      <PostalCode>string</PostalCode>
      <AddressKey>string</AddressKey>
      <Latitude>string</Latitude>
      <Longitude>string</Longitude>
      <Distance>string</Distance>
    </ResponseRecord>
  </Records>
</ResponseArray>