Community
    • Categories
    • Recent
    • Popular
    • Users
    • Search
    • Register
    • Login

    API Aufruf für Button "Update object from JDisc"

    Scheduled Pinned Locked Moved Entwicklung
    2 Posts 2 Posters 251 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      Matthias 0
      last edited by

      Hallo,

      wir scanen unsere Computersysteme im Rechenzentrum über JDisc. Damit erscheint bei jedem Server Object die Kategorie "JDisc Discovery". Darunter gibt es Buttons "Scan object anew with JDisc", "Update object from JDisc" und "Scan anew and update".

      Können diese Buttons über die API von i-doit angesprochen werden und, wenn ja, wie? 🙂

      Vielen Dank!

      Beste Grüsse
      Matthias

      Michael HuhnM 1 Reply Last reply Reply Quote 0
      • Michael HuhnM Offline
        Michael Huhn @Matthias 0
        last edited by

        Hallo @matthias-0

        ja das sollte möglich sein und zwar kann man über die Console.php den Command import-jdiscdiscovery verwenden. Diesen Aufruf kann man über die API via

        {
        	"jsonrpc": "2.0",
        	"method": "console.import.jdiscdiscovery",
        	"params": {
        		"options": {
        			"user": "admin",
        			"password": "admin",
        			"deviceHostname": "mein-mainlappi.fritz.box"
        		},
        		"apikey": "h3md6u3y",
        		"language": "en"
        	},
        	"id": 1
        }
        

        Ausführen.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post