API triggerprototype.create don't return triggerids after INSERT

XMLWordPrintable

    • Type: Incident report
    • Resolution: Fixed
    • Priority: Trivial
    • 2.0.4rc1, 2.1.0
    • Affects Version/s: 2.0.4rc1
    • Component/s: API (A)
    • None

      Request:

      {"jsonrpc":"2.0","method":"triggerprototype.create","id":3,"auth":"4b87cee40aa082bd58f799232a4c9aeb","params":{"description":"NEW ZBX","expression":"

      {ZBX:ITEMPROTO.last(0)}

      =0","status":0}}

      Response:

      {
      "jsonrpc": "2.0",
      "result":

      { "triggerids": [] }

      ,
      "id": 3
      }

            Assignee:
            Oleg Egorov (Inactive)
            Reporter:
            Oleg Egorov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: