Difference between revisions of "Reverse GeoCoder:REST JSON"

From Melissa Data Wiki
Jump to navigation Jump to search
(Created page with "{{ ReverseGeoCoderNav |RequestCollapse= }} {{CustomTOC}} ==REST Request== There is no recordID element because a REST request can only submit one record per request: <pre>...")
 
Line 1: Line 1:
{{ ReverseGeoCoderNav
{{ReverseGeoCoderNav
|RequestCollapse=
|ExampleCollapse=
}}
}}



Revision as of 19:27, 8 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=json


JSON Response

{ 
  "Version":"string",
  "TransmissionReference":"string",
  "TransmissionResults":"string",
  "Results":"string",
  "TotalRecords":"string",
  "Records":[{
    "AddressLine1":"string",
    "SuiteName":"string",
    "SuiteCount":"string",
    "City":"string",
    "State":"string",
    "PostalCode":"string",
    "AddressKey":"string",
    "Latitude":"string",
    "Longitude":"string",
    "Distance":"string"
  }]
}