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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post