Sidebar

api:event:acknowledge

acknowledge()

Available since version: 1.8
The method is used to control all event attributes including event applications linkage.

Parameters

ParameterTypeOptionalDescriptionDetails
eventidsstring No Array of event IDs.
messageany Yes Acknowledge message.

Returns

ParameterDescription
resultOperation successful. Result will contain array of acknowledged Event IDs.
errorIn case of any errors

Example

Acknowledge two events and leave a message:

  {
   "jsonrpc":"2.0",
   "method":"event.acknowledge",
   "params":{
      "eventids": ["100100000010092", "100100000010094"],
      "message": "Problem resolved"
   },
   "auth":"700ca65537074ec963db7efabda78259",
   "id":2
  }

Retrieved acknowledged event IDs:

  {
   "jsonrpc":"2.0",
   "result": {
       "eventids":["100100000010092", "100100000010094"]
   },
   "id":2
  }