Reverse GeoCoder:REST JSON
Jump to navigation
Jump to search
Reverse GeoCoder Navigation | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
| ||||||||||
| ||||||||||
| ||||||||||
Sample Code |
doLookup
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} &opt={Options} &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", "MelissaAddressKey":"string", "MelissaAddressKeyBase":"string" }] }
doLookupPostalCodes
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/doLookupPostalCodes ?id={CustomerId} &lat={Latitude} &long={Longitude} &dist={MaxDistance} &recs={MaxRecords} &t={TransmissionReference} &opt={Options} &format=json
JSON Response
{ "Version":"string", "TransmissionReference":"string", "TransmissionResults":"string", "Results":"string", "TotalRecords":"string", "Records":[{ "City":"string", "State":"string", "PostalCode":"string", "Latitude":"string", "Longitude":"string", "Distance":"string" }], "Records":[{ "City":"string", "State":"string", "PostalCode":"string", "Latitude":"string", "Longitude":"string", "Distance":"string" }] }