REST API - Alle User (Mitarbeiter)
-
Hallo zusammen
Ich benötige eine Response von der i-Doit API, welche mir alle erfassten User
mit der dazugehörigen User / Objekt-ID ausgibt.Ich habe es wie folgt probiert, jedoch benötige ich eine ObjID, welche ich ja erst auslesen möchte;
{ "version": "2.0", "method": "cmdb.object.read", "params": { "objID": 175, #Diese soll obsolet sein "category": "C__CATS__PERSON", "apikey": "XXXX" }, "id": 1 }Ziele: Eine Liste aller User, Vorname, Nachname, Abteilung, E-Mail und ID.
Kann mir hier jemand weiterhelfen?
-
Hey @tosmile01
ich denke du suchst den
cmdb.objects.readEndpunkt. Dieser liefert dir mehrere Objekte auf Basis von übergebenen Filtern.Siehe auch die Beschreibung in unserer KB: https://kb.i-doit.com/en/i-doit-pro-add-ons/api/methods.html#cmdbobjectsread
Alternativ könntest du dir einen einfachen Report erstellen der dir die Nutzer zurückliefert und diesen dann mittels
cmdb.report.readauslesen.VG Leo
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