Hoppa direkt till innehåll
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


    • 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>