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

    Filtern von Objekten über cmdb_status_title via API nicht möglich?

    Scheduled Pinned Locked Moved Entwicklung
    9 Posts 2 Posters 943 Views
    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.
    • P
      p.sonnenschein
      last edited by

      Hallo,

      ich versuche gerade Objekte über den "cmdb_status_title" zu Filtern. Wenn ich z.B. nach "in operation" Filter, bekomme ich trotzdem die anderen Objekte mit ausgegeben (z.B. mit cmdb_status_title stored).
      Ist das ein Fehler oder gibt es hier noch eine andere Möglichkeit nach cmdb_status zu Filtern?

      {

      "version": "2.0",
      "method": "cmdb.objects.read",
      "params": {
          "filter": {
              "type": "C__OBJTYPE__HOST",
             
              "cmdb_status_title": "in operation"
          },
         
          "apikey": "XXX",
          "language": "en"
      },
      "id": 1
      

      }

      Vielen Dank im Voraus
      Pia

      1 Reply Last reply
      Reply Quote 0
      • Philipp HörselmannP
        Philipp Hörselmann
        last edited by

        Hey @p-sonnenschein
        welche Version von i-doit und der API hast du aktuell im Einsatz?
        Ich konnte das mit den aktuellen Versionen (i-doit 1.15.1 und API 1.11.2) nicht reproduzieren.

        VG
        Phil

        P 1 Reply Last reply
        Reply Quote 0
        • P
          p.sonnenschein @Philipp Hörselmann
          last edited by

          Hallo @Philipp-Hörselmann

          i-doit Verision ist auch 1.15.1

          Die API Version konnte ich auf anhieb nicht finden.
          Wie bekommt man die denn raus?

          VG
          Pia

          1 Reply Last reply
          Reply Quote 0
          • Philipp HörselmannP
            Philipp Hörselmann
            last edited by

            Hallo @p-sonnenschein
            die Version kannst du ganz einfach im Admin-Center nachsehen. Dort findest du unter "Add-ons" deine installierten Add-ons und die Versionsnummern 😉

            VG
            Phil

            P 1 Reply Last reply
            Reply Quote 0
            • P
              p.sonnenschein @Philipp Hörselmann
              last edited by

              Hallo @Philipp-Hörselmann

              Super, danke.

              Also i-doit Version ist wie gesagt die 1.15.1 und API 1.11.1.

              VG
              Pia

              1 Reply Last reply
              Reply Quote 0
              • P
                p.sonnenschein
                last edited by

                Hallo @Philipp-Hörselmann,

                wir haben unsere API-Version aktualisiert.
                Der Fehler tritt aber immer noch auf.

                VG
                Pia

                1 Reply Last reply
                Reply Quote 0
                • Philipp HörselmannP
                  Philipp Hörselmann
                  last edited by

                  Moin @p-sonnenschein
                  sobald wir das Problem identifiziert haben und lösen konnten, werde ich hier auch ein Update schreiben 😉
                  VG
                  Phil

                  1 Reply Last reply
                  Reply Quote 0
                  • Philipp HörselmannP
                    Philipp Hörselmann
                    last edited by

                    Moin @p-sonnenschein
                    leider mussten wir feststellen, dass es sich hierbei um einen Dokumentationsfehler handelt und dieser Filter nicht existiert.
                    Ich werde das auf Basis des Tickets als Improvement aufnehmen.

                    Viele Grüße
                    Phil

                    1 Reply Last reply
                    Reply Quote 0
                    • P
                      p.sonnenschein
                      last edited by

                      Hallo @Philipp-Hörselmann
                      ja ich habe es gesehen.
                      Vielen Dank für die Rückmeldung.

                      Viele Grüße
                      Pia

                      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