updateIncidentNote
This method assigns a note to an incident.
Parameters
Parameter |
Type |
Optional |
Description |
---|---|---|---|
|
String |
No |
The type of the target incident. Possible values:
|
|
String |
No |
The ID of the incident, obtained from the Event Push details. The value corresponds to the |
|
String |
No |
The text to be included in the note. NoteIf the incident already has a note assigned to it, it will be overwritten. |
Return value
This method returns a Boolean which is True
if the note is assigned successfully and the following object:
data
, an object containing information related to the incident.lastUpdated
- the timestamp for the moment the note is changed.
Examples
Request:
{ "params": { "incidentId" : "621342db44747b408b7edf65", "type" : "extendedIncidents" or "incidents", "note" : "A random note" }, "jsonrpc": "2.0", "method": "updateIncidentNote", "id": "0df7568c-59c1-48e0-a31b-18d83e6d9810" }
Response:
{ "id": "0df7568c-59c1-48e0-a31b-18d83e6d9810", "jsonrpc": "2.0", "result": { "success": true, "data": { "lastUpdated": "2022-04-04T11:53:21+03:00" } } }