API Aufruf für Button "Update object from JDisc"
-
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 -
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.
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