|
|
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>
| |
| | |
| | |
| ==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]]
| |