Address web services SOAP 2

Address web services SOAP 2

Close

    Address web services SOAP 2

    11. Description of obsolete methods

    11.1 QueryAutoComplete2

    AutoComplete is used to support users when entering non-personal addresses. The autocomplete request returns all address components found for an input when the user enters partial input. The address components that can be searched are towns, streets or buildings. The level of the query (towns, streets or buildings) is determined by the search request. 

    A term is considered a match if the search term occurs at the beginning of a word in a reference term (not case sensitive). If multiple search parameters are passed at the same time, all search criteria must be fulfilled. 

    Match type Search parameters

      Reference
       Field  Value  
    Full match

    Streetname Lindenstrasse

    Lindenstrasse

    (Not: Lindenweg)

    Match at beginning of word

    Streetname Linden

    Lindenstrasse

    Lindenweg

    (Not: Dorflindenstrasse)

    Match at beginning of a word in a substring

    Streetname

    Linden

    Ausser-Lindenegg

    In der Linden

    (Not: Unter-Blindenbach)

    Multiple search parameters at the same level

    Zipcode

    60

    6010 Kriens

    6047 Kastanienbaum

    (Not: 6048 Horw)

    (Not: 3098 Köniz)

    TownName

    K  
    Multiple search parameters at different levels

    Zipcode

    60

    Wiesenau, 6018 Buttisholz

    Obere Wiese, 6020 

    Emmenbrücke

    (Not: Wiesenstrasse, 5012 Schönenwerd)

    (Not: Haldenring, 6020 Emmenbrücke)

      Streetname

    wies

     

    11.1.1 Search for towns

    The following request for the “QueryAutoComplete” method searches for towns:

    <soapenv:Envelope xmlns:soapenv="https://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="https://tempuri.org/" xmlns:syn="https://schemas.datacontract.org/2004/07/SynSrvDataContracts">   <soapenv:Header/>   <soapenv:Body>      <tem:QueryAutoComplete2>         <tem:request>	    <syn:HouseKey>0</syn:HouseKey>            <syn:HouseNumber></syn:HouseNumber>            <syn:HouseNumberAddition></syn:HouseNumberAddition>            <syn:Onrp>0</syn:Onrp>            <syn:StrId>0</syn:StrId>            <syn:Streetname></syn:Streetname>            <syn:TownName>n</syn:TownName>            <syn:ZipAddition></syn:ZipAddition>            <syn:Zipcode>817</syn:Zipcode>         </tem:request>         <tem:zipOrderMode>NumericAscending</tem:zipOrderMode>      </tem:QueryAutoComplete2>   </soapenv:Body></soapenv:Envelope>

    The service responds

    <s:Envelope xmlns:s="https://schemas.xmlsoap.org/soap/envelope/">   <s:Body>      <QueryAutoComplete2Response xmlns="https://tempuri.org/">         <QueryAutoComplete2Result xmlns:a="https://schemas.datacontract.org/2004/07/SynSrvDataContracts" xmlns:i="https://www.w3.org/2001/XMLSchema-instance">            <a:AutoCompleteResult>               <a:AutoCompleteData>                  <a:HouseKey>0</a:HouseKey>                  <a:HouseNumber/>                  <a:HouseNumberAddition/>                  <a:Onrp>4542</a:Onrp>                  <a:StrId>0</a:StrId>                  <a:Streetname/>                  <a:TownName>Niederglatt ZH</a:TownName>                  <a:ZipAddition>00</a:ZipAddition>                  <a:Zipcode>8172</a:Zipcode>               </a:AutoCompleteData>               <a:AutoCompleteData>                  <a:HouseKey>0</a:HouseKey>                  <a:HouseNumber/>                  <a:HouseNumberAddition/>                  <a:Onrp>4543</a:Onrp>                  <a:StrId>0</a:StrId>                  <a:Streetname/>                  <a:TownName>Neerach</a:TownName>                  <a:ZipAddition>00</a:ZipAddition>                  <a:Zipcode>8173</a:Zipcode>               </a:AutoCompleteData>	       <a:Status>0</a:Status>         </QueryAutoComplete2Result>      </QueryAutoComplete2Response>   </s:Body></s:Envelope>

    11.1.2 Search for streets

    Multiple variants can be selected to search for streets.

    11.1.2.1 Search for streets without restriction to town

    This search variant searches all streets regardless of the town.

    Building

    HouseKey

    -

    HouseNumber

    O

    HouseNumberAdditon

    O

    Street

    Strld

    „0“

    Streetname

    O

    Town 

    Onrp

    „0“

    Zipcode

    O

    ZipAddition

    -

    TownName

    O

    “0” = static value ‘0’ / O = empty / X = filled / - = no influence on search

    The following request for the “QueryAutoComplete” method searches for streets with no town restriction:

    <soapenv:Envelope xmlns:soapenv="https://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="https://tempuri.org/" xmlns:syn="https://schemas.datacontract.org/2004/07/SynSrvDataContracts">   <soapenv:Header/>   <soapenv:Body>      <tem:QueryAutoComplete2>         <tem:request>             <syn:HouseKey>0</syn:HouseKey>            <syn:HouseNumber></syn:HouseNumber>            <syn:HouseNumberAddition></syn:HouseNumberAddition>            <syn:Onrp>0</syn:Onrp>            <syn:StrId>0</syn:StrId>            <syn:Streetname>Alte Stationsstrasse</syn:Streetname>            <syn:TownName></syn:TownName>            <syn:ZipAddition></syn:ZipAddition>            <syn:Zipcode></syn:Zipcode>         </tem:request>         <tem:zipOrderMode>NumericAscending</tem:zipOrderMode>      </tem:QueryAutoComplete2>   </soapenv:Body></soapenv:Envelope>

    11.1.3 Search for buildings

    Multiple variants can be selected to search for buildings

    11.1.3.1 Search for buildings without restriction to street or town

    This search variant searches all buildings regardless of town or street.

    Building

    HouseKey

    -

    HouseNumber

    X*

    HouseNumberAdditon

    X*

    Street

    Strld

    „0“

    Streetname

    O

    Town

    Onrp

    „0“

    Zipcode

    O

    ZipAddition

    -

    TownName

    O

    “0” = static value ‘0’ / O = empty / X = filled / - = no influence on search 
    * House number can be empty if house number addition entered or house number addition can be empty if house number entered

    The following request for the “QueryAutoComplete” method searches for buildings with no town or street restriction:
    <soapenv:Envelope xmlns:soapenv="https://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="https://tempuri.org/" xmlns:syn="https://schemas.datacontract.org/2004/07/SynSrvDataContracts">   <soapenv:Header/>   <soapenv:Body>      <tem:QueryAutoComplete2>          <tem:request>            <syn:HouseKey>0</syn:HouseKey>            <syn:HouseNumber>105</syn:HouseNumber>            <syn:HouseNumberAddition>N</syn:HouseNumberAddition>            <syn:Onrp>0</syn:Onrp>            <syn:StrId>0</syn:StrId>            <syn:Streetname></syn:Streetname>            <syn:TownName></syn:TownName>            <syn:ZipAddition></syn:ZipAddition>            <syn:Zipcode></syn:Zipcode>         </tem:request>         <tem:zipOrderMode>NumericAscending</tem:zipOrderMode>      </tem:QueryAutoComplete2>   </soapenv:Body></soapenv:Envelope>

    The service responds

    <s:Envelope xmlns:s="https://schemas.xmlsoap.org/soap/envelope/">   <s:Body>      <QueryAutoComplete2Response xmlns="https://tempuri.org/">         <QueryAutoComplete2Result xmlns:a="https://schemas.datacontract.org/2004/07/SynSrvDataContracts" xmlns:i="https://www.w3.org/2001/XMLSchema-instance">            <a:AutoCompleteResult>               <a:AutoCompleteData>                  <a:HouseKey>30039869</a:HouseKey>                  <a:HouseNumber>105</a:HouseNumber>                  <a:HouseNumberAddition>N</a:HouseNumberAddition>                  <a:Onrp>1634</a:Onrp>                  <a:StrId>30022575</a:StrId>                  <a:Streetname>Le Chênois</a:Streetname>                  <a:TownName>Charmoille</a:TownName>                  <a:ZipAddition>00</a:ZipAddition>                  <a:Zipcode>2947</a:Zipcode>               </a:AutoCompleteData>               <a:AutoCompleteData>                  <a:HouseKey>76190424</a:HouseKey>                  <a:HouseNumber>105</a:HouseNumber>                  <a:HouseNumberAddition>N</a:HouseNumberAddition>                  <a:Onrp>3589</a:Onrp>                  <a:StrId>72028859</a:StrId>                  <a:Streetname>Quartiere Nef</a:Streetname>                  <a:TownName>Lostallo</a:TownName>                  <a:ZipAddition>00</a:ZipAddition>                  <a:Zipcode>6558</a:Zipcode>               </a:AutoCompleteData>               <a:AutoCompleteData>                  <a:HouseKey>76243990</a:HouseKey>                  <a:HouseNumber>105</a:HouseNumber>                  <a:HouseNumberAddition>N</a:HouseNumberAddition>                  <a:Onrp>1632</a:Onrp>                  <a:StrId>30001307</a:StrId>                  <a:Streetname>Sur le Creux de Loups</a:Streetname>                  <a:TownName>Bonfol</a:TownName>                  <a:ZipAddition>00</a:ZipAddition>                  <a:Zipcode>2944</a:Zipcode>               </a:AutoCompleteData>                           </a:AutoCompleteResult>            <a:Status>0</a:Status>         </QueryAutoComplete2Result>      </QueryAutoComplete2Response>   </s:Body></s:Envelope>

    11.1.3.2 Search for buildings with restriction to street using search terms

    This search variant searches all buildings within matching streets.

    Building

    HouseKey

    -

    HouseNumber

    X*

    HouseNumberAdditon

    X*

    Street

    Strld

    „0“

    Streetname

    X

    Town

    Onrp

    „0“

    Zipcode

    O

    ZipAddition

    -

    TownName

    O

    “0” = static value ‘0’ / O = empty / X = filled / - = no influence on search 
    * House number can be empty if house number addition entered or house number addition can be empty if house number entered

    The following request for the “QueryAutoComplete” method searches for buildings with restriction to street:
    <soapenv:Envelope xmlns:soapenv="https://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="https://tempuri.org/" xmlns:syn="https://schemas.datacontract.org/2004/07/SynSrvDataContracts">   <soapenv:Header/>   <soapenv:Body>      <tem:QueryAutoComplete2>          <tem:request>            <syn:HouseKey>0</syn:HouseKey>            <syn:HouseNumber>105</syn:HouseNumber>            <syn:HouseNumberAddition>N</syn:HouseNumberAddition>            <syn:Onrp>0</syn:Onrp>            <syn:StrId>0</syn:StrId>            <syn:Streetname>le</syn:Streetname>            <syn:TownName></syn:TownName>            <syn:ZipAddition></syn:ZipAddition>            <syn:Zipcode></syn:Zipcode>         </tem:request>         <tem:zipOrderMode>NumericAscending</tem:zipOrderMode>      </tem:QueryAutoComplete2>   </soapenv:Body></soapenv:Envelope>

    The service responds

    <s:Envelope xmlns:s="https://schemas.xmlsoap.org/soap/envelope/">   <s:Body>      <QueryAutoComplete2Response xmlns="https://tempuri.org/">         <QueryAutoComplete2Result xmlns:a="https://schemas.datacontract.org/2004/07/SynSrvDataContracts" xmlns:i="https://www.w3.org/2001/XMLSchema-instance">            <a:AutoCompleteResult>               <a:AutoCompleteData>                  <a:HouseKey>30039869</a:HouseKey>                  <a:HouseNumber>105</a:HouseNumber>                  <a:HouseNumberAddition>N</a:HouseNumberAddition>                  <a:Onrp>1634</a:Onrp>                  <a:StrId>30022575</a:StrId>                  <a:Streetname>Le Chênois</a:Streetname>                  <a:TownName>Charmoille</a:TownName>                  <a:ZipAddition>00</a:ZipAddition>                  <a:Zipcode>2947</a:Zipcode>               </a:AutoCompleteData>                              <a:AutoCompleteData>                  <a:HouseKey>76243990</a:HouseKey>                  <a:HouseNumber>105</a:HouseNumber>                  <a:HouseNumberAddition>N</a:HouseNumberAddition>                  <a:Onrp>1632</a:Onrp>                  <a:StrId>30001307</a:StrId>                  <a:Streetname>Sur le Creux de Loups</a:Streetname>                  <a:TownName>Bonfol</a:TownName>                  <a:ZipAddition>00</a:ZipAddition>                  <a:Zipcode>2944</a:Zipcode>               </a:AutoCompleteData>                           </a:AutoCompleteResult>            <a:Status>0</a:Status>         </QueryAutoComplete2Result>      </QueryAutoComplete2Response>   </s:Body></s:Envelope>

    11.1.3.3 Search for buildings with restriction to town using search terms

    This search variant searches all buildings within matching towns. 

    Building

    HouseKey

    -

    HouseNumber

    X*

    HouseNumberAdditon

    X*

    Street

    Strld

    „0“

    Streetname

    O

    Town

    Onrp

    „0“

    Zipcode

    X**

    ZipAddition

    TownName

    X**

    “0” = static value ‘0’ / O = empty / X = filled / - = no influence on search 
    * House number can be empty if house number addition entered or house number addition can be empty if house number entered 
    ** Postcode can be empty if town entered, or town can be empty if postcode entered 

    The following request for the “QueryAutoComplete” method searches for buildings with restriction to towns:
    <soapenv:Envelope xmlns:soapenv="https://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="https://tempuri.org/" xmlns:syn="https://schemas.datacontract.org/2004/07/SynSrvDataContracts">   <soapenv:Header/>   <soapenv:Body>      <tem:QueryAutoComplete2>          <tem:request>             <syn:HouseKey>0</syn:HouseKey>            <syn:HouseNumber>105</syn:HouseNumber>            <syn:HouseNumberAddition>b</syn:HouseNumberAddition>            <syn:Onrp>0</syn:Onrp>            <syn:StrId>0</syn:StrId>            <syn:Streetname></syn:Streetname>            <syn:TownName>zh</syn:TownName>            <syn:ZipAddition></syn:ZipAddition>            <syn:Zipcode></syn:Zipcode>         </tem:request>         <tem:zipOrderMode>NumericAscending</tem:zipOrderMode>      </tem:QueryAutoComplete2>   </soapenv:Body></soapenv:Envelope>

    The service responds

    <s:Envelope xmlns:s="https://schemas.xmlsoap.org/soap/envelope/">   <s:Body>      <QueryAutoComplete2Response xmlns="https://tempuri.org/">         <QueryAutoComplete2Result xmlns:a="https://schemas.datacontract.org/2004/07/SynSrvDataContracts" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">            <a:AutoCompleteResult>               <a:AutoCompleteData>                  <a:HouseKey>57524080</a:HouseKey>                  <a:HouseNumber>105</a:HouseNumber>                  <a:HouseNumberAddition>B</a:HouseNumberAddition>                  <a:Onrp>4659</a:Onrp>                  <a:StrId>26183</a:StrId>                  <a:Streetname>Russikerstrasse</a:Streetname>                  <a:TownName>Pfäffikon ZH</a:TownName>                  <a:ZipAddition>00</a:ZipAddition>                  <a:Zipcode>8330</a:Zipcode>               </a:AutoCompleteData>               <a:AutoCompleteData>                  <a:HouseKey>76428690</a:HouseKey>                  <a:HouseNumber>105</a:HouseNumber>                  <a:HouseNumberAddition>B</a:HouseNumberAddition>                  <a:Onrp>4990</a:Onrp>                  <a:StrId>28408</a:StrId>                  <a:Streetname>Lerchenbergstrasse</a:Streetname>                  <a:TownName>Erlenbach ZH</a:TownName>                  <a:ZipAddition>00</a:ZipAddition>                  <a:Zipcode>8703</a:Zipcode>               </a:AutoCompleteData>            </a:AutoCompleteResult>            <a:Status>0</a:Status>         </QueryAutoComplete2Result>      </QueryAutoComplete2Response>   </s:Body></s:Envelope>

    11.1.3.4 Search for buildings with restriction to exactly one street

    This search variant searches all buildings within a single street. The street is defined using the StrId.

    Building

    HouseKey

    -

    HouseNumber

    X*

    HouseNumberAdditon

    X*

    Street

    Strld

    X

    Streetname

    -**

    Town

    Onrp

    -

    Zipcode

    -**

    ZipAddition

    -**

    TownName

    -**

    “0” = static value ‘0’ / O = empty / X = filled / - = no influence on search 
    * House number can be empty if house number addition entered or house number addition can be empty if house number entered 
    ** When an StrId number is specified, these search parameters are ignored, even if a value is entered

    The following request for the “QueryAutoComplete” method searches for buildings with restriction to street:
    <soapenv:Envelope xmlns:soapenv="https://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="https://tempuri.org/" xmlns:syn="https://schemas.datacontract.org/2004/07/SynSrvDataContracts">   <soapenv:Header/>   <soapenv:Body>      <tem:QueryAutoComplete2>                   <tem:request>                         <syn:HouseKey>0</syn:HouseKey>            <syn:HouseNumber>1</syn:HouseNumber>            <syn:HouseNumberAddition></syn:HouseNumberAddition>            <syn:Onrp>0</syn:Onrp>            <syn:StrId>75022</syn:StrId>            <syn:Streetname></syn:Streetname>            <syn:TownName></syn:TownName>            <syn:ZipAddition></syn:ZipAddition>            <syn:Zipcode></syn:Zipcode>         </tem:request>         <tem:zipOrderMode>NumericAscending</tem:zipOrderMode>      </tem:QueryAutoComplete2>   </soapenv:Body></soapenv:Envelope>

    The service responds

    <s:Envelope xmlns:s="https://schemas.xmlsoap.org/soap/envelope/">   <s:Body>      <QueryAutoComplete2Response xmlns="https://tempuri.org/">         <QueryAutoComplete2Result xmlns:a="https://schemas.datacontract.org/2004/07/SynSrvDataContracts" xmlns:i="https://www.w3.org/2001/XMLSchema-instance">            <a:AutoCompleteResult>               <a:AutoCompleteData>                  <a:HouseKey>57513045</a:HouseKey>                  <a:HouseNumber>10</a:HouseNumber>                  <a:HouseNumberAddition/>                  <a:Onrp>5137</a:Onrp>                  <a:StrId>75022</a:StrId>                  <a:Streetname>Alte Stationsstrasse</a:Streetname>                  <a:TownName>Bonstetten</a:TownName>                  <a:ZipAddition>00</a:ZipAddition>                  <a:Zipcode>8906</a:Zipcode>               </a:AutoCompleteData>               <a:AutoCompleteData>                  <a:HouseKey>57513049</a:HouseKey>                  <a:HouseNumber>14</a:HouseNumber>                  <a:HouseNumberAddition/>                  <a:Onrp>5137</a:Onrp>                  <a:StrId>75022</a:StrId>                  <a:Streetname>Alte Stationsstrasse</a:Streetname>                  <a:TownName>Bonstetten</a:TownName>                  <a:ZipAddition>00</a:ZipAddition>                  <a:Zipcode>8906</a:Zipcode>               </a:AutoCompleteData>               <a:AutoCompleteData>                  <a:HouseKey>57513051</a:HouseKey>                  <a:HouseNumber>16</a:HouseNumber>                  <a:HouseNumberAddition/>                  <a:Onrp>5137</a:Onrp>                  <a:StrId>75022</a:StrId>                  <a:Streetname>Alte Stationsstrasse</a:Streetname>                  <a:TownName>Bonstetten</a:TownName>                  <a:ZipAddition>00</a:ZipAddition>                  <a:Zipcode>8906</a:Zipcode>               </a:AutoCompleteData>                           </a:AutoCompleteResult>            <a:Status>0</a:Status>         </QueryAutoComplete2Result>      </QueryAutoComplete2Response>   </s:Body></s:Envelope>

    11.1.3.5 Search for buildings with restriction to street and town using search terms

    This search variant searches all buildings within matching streets and towns.

    Building

    HouseKey

    -

    HouseNumber

    X*

    HouseNumberAdditon

    X*

    Street

    Strld

    „0“

    Streetname

    X

    Town

    Onrp

    „0“

    Zipcode

    X**

    ZipAddition

    TownName

    X**

    “0” = static value ‘0’ / O = empty / X = filled / - = no influence on search 
    * House number can be empty if house number addition entered or house number addition can be empty if house number entered 
    ** Postcode can be empty if town entered, or town can be empty if postcode entered

    The following request for the “QueryAutoComplete” method searches for buildings with restriction to street and town:
    <soapenv:Envelope xmlns:soapenv="https://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="https://tempuri.org/" xmlns:syn="https://schemas.datacontract.org/2004/07/SynSrvDataContracts">   <soapenv:Header/>   <soapenv:Body>      <tem:QueryAutoComplete2>          <tem:request>	    <syn:HouseKey>0</syn:HouseKey>            <syn:HouseNumber>15</syn:HouseNumber>            <syn:HouseNumberAddition></syn:HouseNumberAddition>            <syn:Onrp>0</syn:Onrp>            <syn:StrId>0</syn:StrId>            <syn:Streetname>weg</syn:Streetname>            <syn:TownName>w</syn:TownName>            <syn:ZipAddition></syn:ZipAddition>            <syn:Zipcode>8</syn:Zipcode>         </tem:request>         <tem:zipOrderMode>NumericAscending</tem:zipOrderMode>      </tem:QueryAutoComplete2>   </soapenv:Body></soapenv:Envelope>

    The service responds

    <s:Envelope xmlns:s="https://schemas.xmlsoap.org/soap/envelope/">   <s:Body>      <QueryAutoComplete2Response xmlns="https://tempuri.org/">         <QueryAutoComplete2Result xmlns:a="https://schemas.datacontract.org/2004/07/SynSrvDataContracts" xmlns:i="https://www.w3.org/2001/XMLSchema-instance">            <a:AutoCompleteResult>               <a:AutoCompleteData>                  <a:HouseKey>57231933</a:HouseKey>                  <a:HouseNumber>15</a:HouseNumber>                  <a:HouseNumberAddition/>                  <a:Onrp>4690</a:Onrp>                  <a:StrId>67626</a:StrId>                  <a:Streetname>Salomon-Bleuler-Weg</a:Streetname>                  <a:TownName>Winterthur</a:TownName>                  <a:ZipAddition>00</a:ZipAddition>                  <a:Zipcode>8400</a:Zipcode>               </a:AutoCompleteData>               <a:AutoCompleteData>                  <a:HouseKey>76503064</a:HouseKey>                  <a:HouseNumber>15</a:HouseNumber>                  <a:HouseNumberAddition/>                  <a:Onrp>4708</a:Onrp>                  <a:StrId>76141453</a:StrId>                  <a:Streetname>Wegackerstrasse</a:Streetname>                  <a:TownName>Winterthur</a:TownName>                  <a:ZipAddition>00</a:ZipAddition>                  <a:Zipcode>8405</a:Zipcode>               </a:AutoCompleteData>               <a:AutoCompleteData>                  <a:HouseKey>57002169</a:HouseKey>                  <a:HouseNumber>155</a:HouseNumber>                  <a:HouseNumberAddition/>                  <a:Onrp>5064</a:Onrp>                  <a:StrId>29692</a:StrId>                  <a:Streetname>Karl-Stamm-Weg</a:Streetname>                  <a:TownName>Wädenswil</a:TownName>                  <a:ZipAddition>00</a:ZipAddition>                  <a:Zipcode>8820</a:Zipcode>               </a:AutoCompleteData>             </a:AutoCompleteResult>            <a:Status>0</a:Status>         </QueryAutoComplete2Result>      </QueryAutoComplete2Response>   </s:Body></s:Envelope>

    11.1.4 zipOrderMode

    The zipOrderMode element can be used to define how the output is sorted. There are three different modes:

    Mode

    Effect
    NumericAscending
    The output is sorted in ascending order according to postcode. All hits are displayed.

    ZipTypeNotPoBox

    The output is sorted based on the postcode type. The P.O. Box postcodes are displayed at the end.

    ZipPoBox

    The output is sorted based on the postcode type. The P.O. Box postcodes are displayed at the start.

     

    11.2 BuildingVerification

    With BuildingVerification, a non-personalized address can be checked for accuracy. If the address is accurate, the house key and the address are entered with the Swiss Post spelling.

    Request

    <soapenv:Envelope xmlns:soapenv="https://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="https://tempuri.org/">   <soapenv:Header/>   <soapenv:Body>      <tem:QueryBuildingVerification>          <tem:streetname>Sternmatt</tem:streetname>          <tem:houseNo>6</tem:houseNo>          <tem:houseNoAddition></tem:houseNoAddition>          <tem:zipcode>6010</tem:zipcode>          <tem:townname>Kriens</tem:townname>      </tem:QueryBuildingVerification>   </soapenv:Body></soapenv:Envelope>

    Parameters

    The following parameters can also be entered:

    Element
    Data type Description
    streetname
    String
    Street name
    houseNo
    String
    House number
    houseNoAddition
    String
    Additional house number information
    zipcode
    String
    Postcode
    townname
    String
    Town name

    Response

    <s:Envelope xmlns:s="https://schemas.xmlsoap.org/soap/envelope/">   <s:Body>      <QueryBuildingVerificationResponse xmlns="https://tempuri.org/">         <QueryBuildingVerificationResult xmlns:a="https://schemas.datacontract.org/2004/07/SynSrvDataContracts" xmlns:i="https://www.w3.org/2001/XMLSchema-instance">            <a:BuildingVerificationData>               <a:HouseKey>0</a:HouseKey>               <a:HouseNumber/>               <a:HouseNumberAddition/>               <a:HouseNumberHouseNumberAddition i:nil="true"/>               <a:Pstat>0</a:Pstat>               <a:Streetname/>               <a:StreetnameLong/>               <a:TownName/>               <a:TownNameLong/>               <a:ZipAddition/>               <a:Zipcode>6010</a:Zipcode>            </a:BuildingVerificationData>            <a:Status>0</a:Status>         </QueryBuildingVerificationResult>      </QueryBuildingVerificationResponse>   </s:Body></s:Envelope>
    Property Meaning 
    Housekey

    Unique building key

    HouseNumber

    House number

    HouseNumberAddition

    House number supplement

    HouseNumberHouseNumberAddition

    House number complete

    Pstat

    Postal validation status

    Streetname

    Street name

    StreetnameLong

    Street name

    TownName

    Town name

    TownNameLong

    Town name

    ZipAddition

    Postcode addition (fifth and sixth digit)

    Zipcode

    Four-digit postcode