API för att hantera adresser och anmälningar i Anslutamotorn
FormatXML AuthLogin OriginAnslutamotorn ConsumerStadsnät
search_address
The search is always a direct search, searching for "Storgatan 2" and mode "address" will only show matches where address is exactly "Storgatan 2". This search function will never return more than 100 matches
  • Request


    GET /admin/edit/connect/plain/api
    • Attributes


      • mandatory field


      • mandatory search


      • mandatory api_user


      • optional output_format


    • Example request


      GET /admin/edit/connect/plain/api?method=search_address&field=address&search=Arholmagatan+12&api_user=1234
    • Response success: 200


      HTTP/1.1 200
      Content-Type: application/xml
        <connect>     <response>       <matches>         <post_1234>           <id>1234</id>           <oid>8918</oid>           <origin>import</origin>           <streetname>Annedalsgatan</streetname>           <streetnumber>4</streetnumber>           <streetletter></streetletter>           <address>Annedalsgatan 4</address>           <building>Annedal 2</building>           <premise></premise>           <zip>72460</zip>           <city>Stockholm</city>           <ownername></ownername>           <owneraddress></owneraddress>           <ownerzip></ownerzip>           <ownercity></ownercity>           <keywords></keywords>         </post_1234>       </matches>     </response>     <status>success</status>   </connect>