Admin
API för att hantera adresser och anmälningar i Anslutamotorn
FormatXML AuthLogin OriginAnslutamotorn ConsumerStadsnät
object_info
Request
GET /admin/edit/connect/plain/api
Attributes
- mandatory
Data format: integer
Example: 1234
The object id (OID) - mandatory
Data format: integer
Example: 1234
The ID for the API user in Atlas - optional
Data format: string
Example: json
What format should the response be in, valid values are 'xml' and 'json'
Example request
GET /admin/edit/connect/plain/api?method=object_info&id=1234&api_user=1234
Response success: 200
HTTP/1.1 200
Content-Type: application/xml<connect> <response> <id>8919</id> <name>Barkarö Södra</name> <type>residential area</type> <options> <showpercentage>yes</showpercentage> <showdiagram>yes</showdiagram> <geocode_source>google</geocode_source> <restricted_addresses>auto</restricted_addresses> <threshold>50</threshold> <thresholdtype>percentage</thresholdtype> <thresholdorigin>order</thresholdorigin> <map>automap</map> </options> <grouping></grouping> <map>https://www.google.com/maps/d/embed?mid=ze_HdggdXgUs.kSdnlWax1TpI</map> <formlink></formlink> <origin>ADMIN</origin> <uid>auto</uid> <position></position> <bankid>yes</bankid> <price>26500</price> <directorder>no</directorder> </response> <status>success</status> </connect>