api

Atlas API

API Endpoint: XSP Search
Cover check-sök för TL i MdB2
Endpoint URL https://www.stadsnatsportalen.se/plain/xspmdb2search
This API does not require granted privileges, and is open to any user API key This API does not require granted privileges, and is open to any user API key
  • Method: search_address

  • Max 100 träffar i sökresultatet
  • Parameters
    1 hash string green abcd Your login hash from api_login()
    2 string string green Fjällvägen 3 The address to search for
    Endpoint example:
    https://www.stadsnatsportalen.se/plain/xspmdb2search?method=search_address&hash=abcd&string=Fj%C3%A4llv%C3%A4gen+3
  • success response


       <search_address>
          <response>
             <match>
                <coId>MNCMSN</coId>
                <accessId>36599</accessId>
                <streetName>Tekoppsgatan</streetName>
                <streetNumber>3</streetNumber>
                <postalCode>72476</postalCode>
                <city>Västerås</city>
                <countryCode>SE</countryCode>
                <premisesType>RESIDENTIAL_HOUSE</premisesType>
                <swerefNorth>0</swerefNorth>
                <swerefEast>0</swerefEast>
                <propertyUnitDesignation>MATSKEDEN 4</propertyUnitDesignation>
                <outlet>BAGT0601A01-02</outlet>
                <population>Skälby</population>
                <media>FTTH</media>
                <servicesConnection>2017-12-18</servicesConnection>
                <coCpe>UNKNOWN</coCpe>
                <servicePort>ASAP</servicePort>
                <lastUpdate>2017-11-20 10:21:44</lastUpdate>
                <netType>LAYER3</netType>
                <portCapacity>100</portCapacity>
                <cpeCapacity>100</cpeCapacity>
                <openTv>DELIVERABLE_EQUIPMENTEXISTS</openTv>
                <cableTv>UNKNOWN</cableTv>
                <exclusiveTv>NO</exclusiveTv>
             </match>
          </response>
          <status>success</status>
       </search_address>