API specifications
Sök-API för Stadsnät för att se om en adress finns i Marknadsdatabasen
FormatXML AuthLogin OriginMarknadsdatabasen ConsumerStadsnät
search
  • Request


    GET /admin/edit/mdb_buildings/plain/mdb2search
    • Attributes


      • mandatory start


      • mandatory search


      • mandatory type


      • mandatory api_user


      • optional output_format


    • Example request


      GET /admin/edit/mdb_buildings/plain/mdb2search?method=search&start=1&search=Arholmagatan+12&type=address&api_user=1234
    • Response success: 200


      HTTP/1.1 200
      Content-Type: application/xml
        <response>     <matches>       <match>         <coId>SNFDMO</coId>         <accessId>10009</accessId>         <streetName>Skogsvägen</streetName>         <streetNumber>10</streetNumber>         <streetLittera></streetLittera>         <postalCode>72134</postalCode>         <city>Västerås</city>         <countryCode>SE</countryCode>         <premisesType>RESIDENTIAL_HOUSE</premisesType>         <mduApartmentNumber></mduApartmentNumber>         <mduDistinguisher></mduDistinguisher>         <swerefType></swerefType>         <swerefNorth></swerefNorth>         <swerefEast></swerefEast>         <propertyUnitDesignation>GALTEN 10</propertyUnitDesignation>         <propertyUnitArea></propertyUnitArea>         <propertyOwner></propertyOwner>         <outlet></outlet>         <population>Bäckby</population>         <media>FTTH</media>         <services>100/100</services>         <collectiveServices>NO</collectiveServices>         <servicesConnection>2016-01-31</servicesConnection>         <coCpe>MODELL1243</coCpe>         <servicePort>ASAP</servicePort>         <dhcpOption></dhcpOption>         <lastUpdate>2016-09-10 12:34:50</lastUpdate>         <keywords></keywords>         <netType>LAYER2</netType>         <portCapacity>100000</portCapacity>         <cpeCapacity>100000</cpeCapacity>         <openTv>NO</openTv>         <cableTv>NO</cableTv>         <exclusiveTv>NO</exclusiveTv>         <propertyOwnerAddress></propertyOwnerAddress>         <propertyOwnerPostalCode></propertyOwnerPostalCode>         <propertyOwnerCity></propertyOwnerCity>         <activeServices>UNKNOWN</activeServices>         <socket_id>167077111</socket_id>         <address_id>161741148</address_id>         <premise_id>162809275</premise_id>         <building_id>160359851</building_id>       </match>     </matches>   </response>