Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-5698

API triggerprototype.create don't return triggerids after INSERT

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 2.0.4rc1, 2.1.0
    • 2.0.4rc1
    • 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
      }

            oleg.egorov Oleg Egorov (Inactive)
            oleg.egorov Oleg Egorov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: