Import 2.0
Import to Marknadsdatabasen
FormatXML AuthLogin OriginStadsnät ConsumerMarknadsdatabasen
empty_database
Will empty the database connected to the site you execute the command on.
Request
GET /admin/edit/mdb_buildings/plain/api
Attributes
- optional
Data format: string
Example: json
What format should the response be in, valid values are 'xml' and 'json'
Example request
GET /admin/edit/mdb_buildings/plain/api?method=empty_database&hash=abcd
Response success: 200
HTTP/1.1 200
Content-Type: application/xml<empty_database> <response> <message>Deleted all posts from MDb2 where citynet is 'ABC'</message> </response> <status>success</status> </empty_database>