Zip Search:XML Response:Find City in Zip

From Melissa Data Wiki
Revision as of 19:55, 5 September 2012 by Admin (talk | contribs) (Created page with "__NOTOC__ ==Sample XML Response== <pre> <?xml version="1.0" ?> <ResponseArray xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-insta...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Sample XML Response

<?xml version="1.0" ?> 
<ResponseArray xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Version xmlns="urn:mdWebServiceZipSearch">2.0.22</Version> 
  <TransmissionReference xmlns="urn:mdWebServiceZipSearch">Test
  </TransmissionReference> 
  <Results xmlns="urn:mdWebServiceZipSearch">ZS01</Results> 
  <TotalRecords xmlns="urn:mdWebServiceZipSearch">4</TotalRecords> 
  <ZipRecord xmlns="urn:mdWebServiceZipSearch">
    <RecordID>1</RecordID> 
    <Zip>92688</Zip> 
    <ZipType /> 
    <City>
      <Name>Rancho Santa Margarita</Name> 
      <Abbreviation>Rcho Sta Marg</Abbreviation> 
    </City>
    <County>
      <Name>Orange</Name> 
      <FIPS>06059</FIPS> 
    </County>
    <State>CA</State> 
    <AreaCode>949</AreaCode> 
    <TimeZone>
      <Name>Pacific Time</Name> 
      <Code>08</Code> 
    </TimeZone>
    <Latitude>33.6370</Latitude> 
    <Longitude>-117.6042</Longitude> 
    <LastLineIndicator>L</LastLineIndicator> 
    <LastLineNumber>Z22621</LastLineNumber> 
    <PreferredLastLineNumber>Z22621</PreferredLastLineNumber> 
    <FacilityCode>B</FacilityCode> 
  </ZipRecord>

...

  <ZipRecord xmlns="urn:mdWebServiceZipSearch">
    <RecordID>4</RecordID> 
    <Zip>92688</Zip> 
    <ZipType /> 
    <City>
      <Name>Rsm</Name> 
      <Abbreviation>Rsm</Abbreviation> 
    </City>
    <County>
      <Name>Orange</Name> 
      <FIPS>06059</FIPS> 
    </County>
    <State>CA</State> 
    <AreaCode>949</AreaCode> 
    <TimeZone>
      <Name>Pacific Time</Name> 
      <Code>08</Code> 
    </TimeZone>
    <Latitude>33.6370</Latitude> 
    <Longitude>-117.6042</Longitude> 
    <LastLineIndicator /> 
    <LastLineNumber>Z24594</LastLineNumber> 
    <PreferredLastLineNumber>Z22621</PreferredLastLineNumber> 
    <FacilityCode>N</FacilityCode> 
  </ZipRecord>
</ResponseArray>