Street Search:XML Response: Difference between revisions

From Melissa Data Wiki
Jump to navigation Jump to search
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..."
 
No edit summary
Line 6: Line 6:
<ResponseArray xmlns:xsd="http://www.w3.org/2001/XMLSchema"  
<ResponseArray xmlns:xsd="http://www.w3.org/2001/XMLSchema"  
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <Version xmlns="urn:mdWebServicePhoneCheck">2.0.18</Version>  
   <Version xmlns="urn:mdWebServiceStreetSearch">2.0.20</Version>  
   <TransmissionReference xmlns="urn:mdWebServicePhoneCheck">Test
   <TransmissionReference xmlns="urn:mdWebServiceStreetSearch">Test
   </TransmissionReference>  
   </TransmissionReference>  
   <Results xmlns="urn:mdWebServicePhoneCheck" />  
   <Results xmlns="urn:mdWebServiceStreetSearch">SS02</Results>  
   <TotalRecords xmlns="urn:mdWebServicePhoneCheck">1</TotalRecords>  
   <TotalRecords xmlns="urn:mdWebServiceStreetSearch">30</TotalRecords>  
   <Record xmlns="urn:mdWebServicePhoneCheck">
   <StreetRecord xmlns="urn:mdWebServiceStreetSearch">
     <RecordID>1</RecordID>  
     <RecordID>1</RecordID>  
     <Results>PS01,PS08,PS11</Results>  
     <Company />
     <Phone>
    <PrimaryRange>
      <AreaCode>949</AreaCode>  
      <High>22398</High>
       <Prefix>589</Prefix>  
      <Low>22300</Low>  
       <Suffix>5200</Suffix>  
      <OddEven>E</OddEven>  
       <Extension />  
     </PrimaryRange>
       <NewAreaCode />  
    <Street>
       <Latitude>33.635101</Latitude>  
      <PreDirection />  
       <Longitude>-117.599602</Longitude>  
       <Name>EMPRESA</Name>  
       <City>Trabuco Canyon</City>  
       <Suffix>AVDA</Suffix>  
       <State>CA</State>  
       <PostDirection />
       <Country>
    </Street>
        <Abbreviation>US</Abbreviation>  
    <Suite>
        <Name>United States of America</Name>  
       <Name />  
       </Country>
       <High />  
       <TimeZone>
      <Low />  
        <Name>Pacific Time</Name>  
       <OddEven />
        <Code>08</Code>  
    </Suite>
       </TimeZone>
    <FullAddressLine>22300-22398 Even AVENIDA EMPRESA</FullAddressLine>
     </Phone>
    <Zip>
   </Record>
      <Zip5>92688</Zip5>
      <Plus4Low>2112</Plus4Low>
      <Plus4High>2112</Plus4High>
    </Zip>
    <CarrierRoute>C059</CarrierRoute>
    <Urbanization>
      <Code />
      <Name />
    </Urbanization>
    <AddressType>S</AddressType>
    <LACSIndicator />
    <BaseAlternateIndicator>B</BaseAlternateIndicator>
  </StreetRecord>
 
...
 
  <StreetRecord xmlns="urn:mdWebServiceStreetSearch">
    <RecordID>30</RecordID>
    <Company />
    <PrimaryRange>
       <High>22342A</High>  
       <Low>22342A</Low>  
       <OddEven>E</OddEven>
    </PrimaryRange>
    <Street>
      <PreDirection />  
      <Name>EMPRESA</Name>  
       <Suffix>AVDA</Suffix>  
       <PostDirection />  
    </Street>
    <Suite>
      <Name>STE</Name>  
      <High>102A</High>
      <Low>100A</Low>
      <OddEven>B</OddEven>
    </Suite>
    <FullAddressLine>22342A-22342A Even AVENIDA EMPRESA STE 100A-102A</FullAddressLine>
    <Zip>
      <Zip5>92688</Zip5>
      <Plus4Low>2126</Plus4Low>
      <Plus4High>2126</Plus4High>
    </Zip>
    <CarrierRoute>C059</CarrierRoute>
    <Urbanization>
      <Code />  
       <Name />  
     </Urbanization>
    <AddressType>H</AddressType>
    <LACSIndicator />
    <BaseAlternateIndicator>B</BaseAlternateIndicator>  
   </StreetRecord>
</ResponseArray>
</ResponseArray>
</pre>
</pre>

Revision as of 19:31, 5 September 2012


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:mdWebServiceStreetSearch">2.0.20</Version> 
  <TransmissionReference xmlns="urn:mdWebServiceStreetSearch">Test
  </TransmissionReference> 
  <Results xmlns="urn:mdWebServiceStreetSearch">SS02</Results> 
  <TotalRecords xmlns="urn:mdWebServiceStreetSearch">30</TotalRecords> 
  <StreetRecord xmlns="urn:mdWebServiceStreetSearch">
    <RecordID>1</RecordID> 
    <Company /> 
    <PrimaryRange>
      <High>22398</High> 
      <Low>22300</Low> 
      <OddEven>E</OddEven> 
    </PrimaryRange>
    <Street>
      <PreDirection /> 
      <Name>EMPRESA</Name> 
      <Suffix>AVDA</Suffix> 
      <PostDirection /> 
    </Street>
    <Suite>
      <Name /> 
      <High /> 
      <Low /> 
      <OddEven /> 
    </Suite>
    <FullAddressLine>22300-22398 Even AVENIDA EMPRESA</FullAddressLine> 
    <Zip>
      <Zip5>92688</Zip5> 
      <Plus4Low>2112</Plus4Low> 
      <Plus4High>2112</Plus4High> 
    </Zip>
    <CarrierRoute>C059</CarrierRoute> 
    <Urbanization>
      <Code /> 
      <Name /> 
    </Urbanization>
    <AddressType>S</AddressType> 
    <LACSIndicator /> 
    <BaseAlternateIndicator>B</BaseAlternateIndicator> 
  </StreetRecord>

...

  <StreetRecord xmlns="urn:mdWebServiceStreetSearch">
    <RecordID>30</RecordID> 
    <Company /> 
    <PrimaryRange>
      <High>22342A</High> 
      <Low>22342A</Low> 
      <OddEven>E</OddEven> 
    </PrimaryRange>
    <Street>
      <PreDirection /> 
      <Name>EMPRESA</Name> 
      <Suffix>AVDA</Suffix> 
      <PostDirection /> 
    </Street>
    <Suite>
      <Name>STE</Name> 
      <High>102A</High> 
      <Low>100A</Low> 
      <OddEven>B</OddEven> 
    </Suite>
    <FullAddressLine>22342A-22342A Even AVENIDA EMPRESA STE 100A-102A</FullAddressLine> 
    <Zip>
      <Zip5>92688</Zip5> 
      <Plus4Low>2126</Plus4Low> 
      <Plus4High>2126</Plus4High> 
    </Zip>
    <CarrierRoute>C059</CarrierRoute> 
    <Urbanization>
      <Code /> 
      <Name /> 
    </Urbanization>
    <AddressType>H</AddressType> 
    <LACSIndicator /> 
    <BaseAlternateIndicator>B</BaseAlternateIndicator> 
  </StreetRecord>
</ResponseArray>