GlobalTypeAhead International - Spectrum_OnDemand - Latest

Spectrum OnDemand Web Services (SOAP)

Product type
Software
Portfolio
Verify
Product family
Product
Spectrum OnDemand
Version
Latest
Language
English
Product name
Spectrum OnDemand
Title
Spectrum OnDemand Web Services (SOAP)
First publish date
2006

Resource URL

https://OnDemandServer/soap/GlobalTypeAheadInternational

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/GlobalTypeAheadInternational">
   <soapenv:Header/>
   <soapenv:Body>
      <glob:GlobalTypeAheadInternationalRequest>
         <glob:options>
               <glob:Layout></glob:Layout>
               <glob:MaximumCandidates>2</glob:MaximumCandidates>
               <glob:OutputScript></glob:OutputScript>
               <glob:OutputCasing>M</glob:OutputCasing>
               <glob:OutputAddressElements></glob:OutputAddressElements>
         </glob:options>
         <glob:Input>
            <!--Zero or more repetitions:-->
            <glob:Row>
               <!--You may enter the following 7 items in any order-->
                     <glob:AddressLine1>Victori</glob:AddressLine1>
                     <glob:City></glob:City>
                     <glob:StateProvince></glob:StateProvince>
                     <glob:InstanceKey></glob:InstanceKey>
                     <glob:PostalCode></glob:PostalCode>
                     <glob:Country>UK</glob:Country>
                     <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:GlobalTypeAheadInternationalRequest>
   </soapenv:Body>
</soapenv:Envelope>

This would be the response:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
   <ns3:GlobalTypeAheadInternationalResponse xmlns:ns2="http://spectrum.pb.com/" xmlns:ns3="http://www.pb.com/spectrum/services/GlobalTypeAheadInternational">
         <ns3:Output>
            <ns3:Row>
               <ns3:AddressLine1>23 Victoria Street</ns3:AddressLine1>
               <ns3:StateProvince>North Yorkshire</ns3:StateProvince>
               <ns3:PostalCode>YO12 7SS</ns3:PostalCode>
               <ns3:City>Scarborough</ns3:City>
               <ns3:ProcessedBy>INTS</ns3:ProcessedBy>
               <ns3:InstanceKey>ACUjMjMTU5NDU0OTYzOTY0MgMD01Mj</ns3:InstanceKey>
               <ns3:FirmName>Todd Bros Decorating</ns3:FirmName>
               <ns3:FormattedAddress>Todd Bros Decorating, 23 Victoria Street, Scarborough, North Yorkshire, YO12 7SS</ns3:FormattedAddress>
               <ns3:Country>GBR</ns3:Country>
               <ns3:Ranges/>
               <ns3:user_fields>
                  <ns3:user_field>
                     <ns3:name/>
                     <ns3:value/>
                  </ns3:user_field>
               </ns3:user_fields>
            </ns3:Row>
            <ns3:Row>
               <ns3:AddressLine1>Flat 1</ns3:AddressLine1>
               <ns3:StateProvince>North Yorkshire</ns3:StateProvince>
               <ns3:PostalCode>YO12 7SS</ns3:PostalCode>
               <ns3:City>Scarborough</ns3:City>
               <ns3:ProcessedBy>INTS</ns3:ProcessedBy>
               <ns3:InstanceKey>ACUjMjMTU5NDU0OTYzOTY0MgMD01Mj</ns3:InstanceKey>
               <ns3:FormattedAddress>Flat 1, 51 Victoria Street, Scarborough, North Yorkshire, YO12 7SS</ns3:FormattedAddress>
               <ns3:Country>GBR</ns3:Country>
               <ns3:AddressLine2>51 Victoria Street</ns3:AddressLine2>
               <ns3:Ranges/>
               <ns3:user_fields>
                  <ns3:user_field>
                     <ns3:name/>
                     <ns3:value/>
                  </ns3:user_field>
               </ns3:user_fields>
            </ns3:Row>
         </ns3:Output>
      </ns3:GlobalTypeAheadInternationalResponse>
   </soap:Body>
</soap:Envelope>