Reverse GeoCoder:Example Response: Difference between revisions

From Melissa Data Wiki
Jump to navigation Jump to search
No edit summary
Line 11: Line 11:
<pre>
<pre>
{  
{  
   "Version":"String content",
   "Version":"string",
   "TransmissionReference":"String content",
   "TransmissionReference":"string",
   "TransmissionResults":"String content",
   "TransmissionResults":"string",
   "Results":"String content",
   "Results":"string",
   "TotalRecords":"String content",
   "TotalRecords":"string",
   "Records":[{
   "Records":[{
     "AddressLine1":"String content",
     "AddressLine1":"string",
     "SuiteName":"String content",
     "SuiteName":"string",
     "SuiteCount":"String content",
     "SuiteCount":"string",
     "City":"String content",
     "City":"string",
     "State":"String content",
     "State":"string",
     "PostalCode":"String content",
     "PostalCode":"string",
     "AddressKey":"String content",
     "AddressKey":"string",
     "Latitude":"String content",
     "Latitude":"string",
     "Longitude":"String content",
     "Longitude":"string",
     "Distance":"String content"
     "Distance":"string"
   }]
   }]
}
}
Line 63: Line 63:
       <AddressLine1>string</AddressLine1>
       <AddressLine1>string</AddressLine1>
       <SuiteName>string</SuiteName>
       <SuiteName>string</SuiteName>
       <SuiteCount>String</SuiteCount>
       <SuiteCount>string</SuiteCount>
       <City>String</City>
       <City>string</City>
       <State>string</State>
       <State>string</State>
       <PostalCode>String</PostalCode>
       <PostalCode>string</PostalCode>
       <AddressKey>string</AddressKey>
       <AddressKey>string</AddressKey>
       <Latitude>string</Latitude>
       <Latitude>string</Latitude>
       <Longitude>String</Longitude>
       <Longitude>string</Longitude>
       <Distance>String</Distance>
       <Distance>string</Distance>
     </ResponseRecord>
     </ResponseRecord>
   </Records>
   </Records>

Revision as of 00:15, 31 March 2018

← 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



The following responses detail a possible response returned by the service.

JSON

{ 
  "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"
  }]
}


SOAP

string = Response.Version
string = Response.TransmissionReference
string = Response.TransmissionResults
string = Response.TotalRecords
string = Response.Records.AddressLine1
string = Response.Records.SuiteName
string = Response.Records.SuiteCount
string = Response.Records.City
string = Response.Records.State
string = Response.Records.PostalCode
string = Response.Records.AddressKey
string = Response.Records.Latitude
string = Response.Records.Longitude
string = Response.Records.Distance


XML

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