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

    Details

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

      Description

      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
      }

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: