updateIncidentNote
This method assigns a note to an incident.
Important
This method has been updated to version 1.1. For information applicable to version 1.0, refer to this section.
Parameters
Parameter | Type | Optional | Description and value requirements |
|---|---|---|---|
| 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 TipYou can get the ID of a specific incident from GravityZone Control Center by following these steps:
|
| String | No | The text to be included in the note. A maximum of 50,000 characters is allowed for the note. All whitespace or empty note values are not supported. NoteIf the incident already has a note assigned to it, it will be overwritten. |
These are common parameters, available across all public API methods.
Parameter | Description | Included in request | Type | Values |
|---|---|---|---|---|
| This parameter adds an identifier to the request, linking it to its corresponding response. The target replies with the same value in the response, allowing easy call tracking. | Mandatory | String | No additional requirements. |
| The name of the method you are using to send the request. | Mandatory | String | Must be a valid method name. |
| The version of JSON-RPC used by the request and the response. | Mandatory | String | Possible values:
|
| An object containing the configuration of the request. | Mandatory | Object | No additional requirements. |
Return value
This method returns a Boolean value that is true if the note is assigned successfully.
Example
Request:
{
"params": {
"incidentId": "621342db44747b408b7edf65",
"type": "extendedIncidents",
"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": true
}Version 1.0
Parameters
Parameter | Type | Optional | Description and value requirements |
|---|---|---|---|
| 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 TipYou can get the ID of a specific incident from GravityZone Control Center by following these steps:
|
| String | No | The text to be included in the note. A maximum of 50,000 characters is allowed for the note. All whitespace or empty note values are not supported. NoteIf the incident already has a note assigned to it, it will be overwritten. |
These are common parameters, available across all public API methods.
Parameter | Description | Included in request | Type | Values |
|---|---|---|---|---|
| This parameter adds an identifier to the request, linking it to its corresponding response. The target replies with the same value in the response, allowing easy call tracking. | Mandatory | String | No additional requirements. |
| The name of the method you are using to send the request. | Mandatory | String | Must be a valid method name. |
| The version of JSON-RPC used by the request and the response. | Mandatory | String | Possible values:
|
| An object containing the configuration of the request. | Mandatory | Object | No additional requirements. |
Return value
This method returns a result Object containing a success Boolean, which is true if the note was successfully updated.
Example
Request:
{
"params": {
"incidentId": "621342db44747b408b7edf65",
"type": "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
}
}