Reverse GeoCoder:Example Request: Difference between revisions

From Melissa Data Wiki
Jump to navigation Jump to search
Redirected page to Reverse GeoCoder:REST XML
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{ ReverseGeoCoderNav
#REDIRECT [[Reverse GeoCoder:REST XML]]
|RequestCollapse=
}}
 
 
{{CustomTOC}}
 
The following requests detail the possible elements and general format of the four possible protocols.
 
==JSON Request==
<pre>
{
"RequestArray": {
  "CustomerId":"string",
  "Latitude":"string",
  "Longitude":"string",
  "MaxDistance":"string",
  "MaxRecords":"string",
  "TransmissionReference":"string"
  }
}
</pre>
 
 
==REST Request==
There is no recordID element because a REST request can only submit one record per request:
 
<pre>
http://ReverseGeo.melissadata.net/V3/WEB/ReverseGeoCode/doLookup
?id={CustomerId}
&lat={Latitude}
&long={Longitude}
&dist={MaxDistance}
&recs={MaxRecords}
&t={TransmissionReference}
</pre>
 
 
==SOAP Request==
<pre>
Dim Request As New ReverseGeo.Request
Dim Response As New ReverseGeo.Response
Request.CustomerId = string
Request.TransmissionReference = string
Request.Latitude = string
Request.Longitude = string
Request.MaxDistance = string
Request.MaxRecords = string
ReverseGeoClient = New ReverseGeo.Service
Response = ReverseGeoClient.doLookUp(Request)
ReverseGeoClient.Dispose()
</pre>
 
 
==XML Request==
<pre>
<RequestArray>
  <CustomerID>string</CustomerID>
  <Latitude>string</Latitude>
  <Longitude>string</Longitude>
  <MaxDistance>string</MaxDistance>
  <MaxRecords>string</MaxRecords>
  <TransmissionReference>string</TransmissionReference>
</RequestArray>
</pre>
 
 
[[Category:Reverse GeoCoder]]
[[Category:Reference]]

Latest revision as of 19:20, 8 March 2019