GlobalTypeAheadUSA

Resource URL

https://OnDemandServer/soap/GlobalTypeAheadUSA

For a list of Spectrum OnDemand servers, see Connecting to Spectrum OnDemand Servers.

Example

The following shows a SOAP request:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:glob="http://www.pb.com/spectrum/services/GlobalTypeAheadUSA">
   <soapenv:Header/>
   <soapenv:Body>
      <glob:GlobalTypeAheadUSARequest>
         <glob:options>
               <glob:OutputCasing>M</glob:OutputCasing>
               <glob:Separator></glob:Separator>
               <glob:UnitFirst></glob:UnitFirst>
               <glob:Layout></glob:Layout>
               <glob:MaximumCandidates>10</glob:MaximumCandidates>
               <glob:FuzzyMatch>Hard_Match</glob:FuzzyMatch>
         </glob:options>
         <glob:Input>
            <!--Zero or more repetitions:-->
            <glob:Row>
               <!--You may enter the following 7 items in any order-->
                     <glob:AddressLine1>155 water st</glob:AddressLine1>
                     <glob:City>Lee</glob:City>
                     <glob:StateProvince></glob:StateProvince>
                     <glob:PostCode></glob:PostCode>
                     <glob:InstanceKey></glob:InstanceKey>
                     <glob:PostalCode></glob:PostalCode>
                     <glob:user_fields>
                  <!--Zero or more repetitions:-->
                  <glob:user_field>
                     <glob:name></glob:name>
                     <glob:value></glob:value>
                  </glob:user_field>
               </glob:user_fields>
            </glob:Row>
         </glob:Input>
      </glob:GlobalTypeAheadUSARequest>
   </soapenv:Body>
</soapenv:Envelope>

This would be the response:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
   <ns3:GlobalTypeAheadUSAResponse xmlns:ns2="http://spectrum.pb.com/" xmlns:ns3="http://www.pb.com/spectrum/services/GlobalTypeAheadUSA">
         <ns3:Output>
            <ns3:Row>
               <ns3:AddressLine1>155 Water St</ns3:AddressLine1>
               <ns3:StateProvince>MA</ns3:StateProvince>
               <ns3:PostalCode>01238</ns3:PostalCode>
               <ns3:City>Lee</ns3:City>
               <ns3:ProcessedBy>GTA</ns3:ProcessedBy>
               <ns3:InstanceKey>ACUjMTMTU5NDY1OTU5NjUzNAMT01Mz</ns3:InstanceKey>
               <ns3:FormattedAddress>TRLR 1, 155 Water St, Lee, MA 01238</ns3:FormattedAddress>
               <ns3:RangeCount>1</ns3:RangeCount>
               <ns3:Ranges>
                  <ns3:Range>
                     <ns3:Range>155</ns3:Range>
                     <ns3:UnitCount>12</ns3:UnitCount>
                     <ns3:UnitsInfo>
                        <ns3:UnitInfo>
                           <ns3:UnitInfo>TRLR 1</ns3:UnitInfo>
                           <ns3:FormattedUnitAddress>TRLR 1, 155 Water St, Lee, MA 01238</ns3:FormattedUnitAddress>
                        </ns3:UnitInfo>
                        <ns3:UnitInfo>
                           <ns3:UnitInfo>TRLR 2</ns3:UnitInfo>
                           <ns3:FormattedUnitAddress>TRLR 2, 155 Water St, Lee, MA 01238</ns3:FormattedUnitAddress>
                        </ns3:UnitInfo>
                        <ns3:UnitInfo>
                           <ns3:UnitInfo>TRLR 3</ns3:UnitInfo>
                           <ns3:FormattedUnitAddress>TRLR 3, 155 Water St, Lee, MA 01238</ns3:FormattedUnitAddress>
                        </ns3:UnitInfo>
                        <ns3:UnitInfo>
                           <ns3:UnitInfo>TRLR 4</ns3:UnitInfo>
                           <ns3:FormattedUnitAddress>TRLR 4, 155 Water St, Lee, MA 01238</ns3:FormattedUnitAddress>
                        </ns3:UnitInfo>
                        <ns3:UnitInfo>
                           <ns3:UnitInfo>TRLR 5</ns3:UnitInfo>
                           <ns3:FormattedUnitAddress>TRLR 5, 155 Water St, Lee, MA 01238</ns3:FormattedUnitAddress>
                        </ns3:UnitInfo>
                        <ns3:UnitInfo>
                           <ns3:UnitInfo>TRLR 6</ns3:UnitInfo>
                           <ns3:FormattedUnitAddress>TRLR 6, 155 Water St, Lee, MA 01238</ns3:FormattedUnitAddress>
                        </ns3:UnitInfo>
                        <ns3:UnitInfo>
                           <ns3:UnitInfo>TRLR 7</ns3:UnitInfo>
                           <ns3:FormattedUnitAddress>TRLR 7, 155 Water St, Lee, MA 01238</ns3:FormattedUnitAddress>
                        </ns3:UnitInfo>
                        <ns3:UnitInfo>
                           <ns3:UnitInfo>TRLR 8</ns3:UnitInfo>
                           <ns3:FormattedUnitAddress>TRLR 8, 155 Water St, Lee, MA 01238</ns3:FormattedUnitAddress>
                        </ns3:UnitInfo>
                        <ns3:UnitInfo>
                           <ns3:UnitInfo>TRLR 9</ns3:UnitInfo>
                           <ns3:FormattedUnitAddress>TRLR 9, 155 Water St, Lee, MA 01238</ns3:FormattedUnitAddress>
                        </ns3:UnitInfo>
                        <ns3:UnitInfo>
                           <ns3:UnitInfo>TRLR 10</ns3:UnitInfo>
                           <ns3:FormattedUnitAddress>TRLR 10, 155 Water St, Lee, MA 01238</ns3:FormattedUnitAddress>
                        </ns3:UnitInfo>
                        <ns3:UnitInfo>
                           <ns3:UnitInfo>TRLR 11</ns3:UnitInfo>
                           <ns3:FormattedUnitAddress>TRLR 11, 155 Water St, Lee, MA 01238</ns3:FormattedUnitAddress>
                        </ns3:UnitInfo>
                        <ns3:UnitInfo>
                           <ns3:UnitInfo>TRLR 12</ns3:UnitInfo>
                           <ns3:FormattedUnitAddress>TRLR 12, 155 Water St, Lee, MA 01238</ns3:FormattedUnitAddress>
                        </ns3:UnitInfo>
                     </ns3:UnitsInfo>
                  </ns3:Range>
               </ns3:Ranges>
               <ns3:user_fields>
                  <ns3:user_field>
                     <ns3:name/>
                     <ns3:value/>
                  </ns3:user_field>
               </ns3:user_fields>
            </ns3:Row>
         </ns3:Output>
      </ns3:GlobalTypeAheadUSAResponse>
   </soap:Body>
</soap:Envelope>