API för att hantera adresser och anmälningar i Anslutamotorn
FormatXML AuthLogin OriginAnslutamotorn ConsumerStadsnät
qgis_object
Returnerar GeoJSON-formatterad data om ett objekt och dess geocode-data, för att läsa in i QGIS direkt

"status" kan vara "all", "interest", "order" eller "connected"
  • Request


    GET /admin/edit/connect/plain/api
    Content-Type: application/json
    • Attributes


      • mandatory status


      • mandatory oid


      • mandatory api_user


    • Example request


      GET /admin/edit/connect/plain/api?method=qgis_object&status=all&oid=1234&api_user=1234
      Content-Type: application/json
    • Response success: 200 OK


      HTTP/1.1 200 OK
      Content-Type: application/json
      {   "type": "FeatureCollection",   "features": [     {       "type": "Feature",       "geometry": {         "type": "Point",         "coordinates": [           55.520671,           10.275156         ]       },       "properties": {         "streetname": "Fyrgatan",         "streetnumber": "2",         "streetletter": "",         "address": "Fyrgatan 2"       }     },     {       "type": "Feature",       "geometry": {         "type": "Point",         "coordinates": [           57.7492488,           14.1699525         ]       },       "properties": {         "streetname": "Skavgatan",         "streetnumber": "1",         "streetletter": "",         "address": "Skavgatan 1"       }     },     {       "type": "Feature",       "geometry": {         "type": "Point",         "coordinates": [           55.5474857,           14.3390443         ]       },       "properties": {         "streetname": "testgatan",         "streetnumber": "1",         "streetletter": "",         "address": "Testgatan 1"       }     },     {       "type": "Feature",       "geometry": {         "type": "Point",         "coordinates": [           59.3054787,           18.0842857         ]       },       "properties": {         "streetname": "Tvålgränd",         "streetnumber": "1",         "streetletter": "",         "address": "Tvålgränd 1"       }     }   ] }