Retrieve history of events associated with the specified incident.

Genetec Mission Control™ Web API

Content type
OpenAPI specifications
Product line
Mission Control
ft:locale
en-US
Applies to
Genetec Mission Control™ Web API
get /v2/Incidents/{id}/Events

Returns the history of events associated with the incident specified by identifier under the following conditions:

  • The incident is not closed.
  • The authenticated Security Center user has incident management privileges.

With Third-party integration mode or Incident report privileges, you can retrieve incident events history irrespective of incident state.

Current limitation: the total results count value will always be null.
Path parameters
id
String
required
Guid/Uuid of the required incident. _Example:_ `ADBD25C1-127C-4D05-898D-CCF82D8DB59F`
Example: id_example
Query parameters
dateTimeFrom
Date
date-time
This query parameter allows you to retrieve events that were generated after the provided date. <br />You can specify date in either of the following formats: <br /><ul><li>Local date and time format: yyyy-mm-dd hh:mm:ss</li><li>UTC format: yyyy-mm-ddThh:mm:ssZ</li></ul>
Example: 2013-10-20T19:20:30+01:00
dateTimeTo
Date
date-time
This query parameter allows you to retrieve events that were generated before the provided date. <br />You can specify date in either of the following formats: <br /><ul><li>Local date and time format: yyyy-mm-dd hh:mm:ss</li><li>UTC format: yyyy-mm-ddThh:mm:ssZ</li></ul>
Example: 2013-10-20T19:20:30+01:00
eventTypes
array[Integer]
int32
This query parameter allows you to retrieve events that match the specified event type identifier. <br /> You can provide multiple identifiers separated by commas.
offset
Integer
int32
This query parameter allows you to set the number of items to be skipped. <br />The default value for this parameter is 0.
Example: 56
limit
Integer
int32
This query parameter allows you to set the number of items to retrieve. Maximum value: 100. <br />The default value for this parameter is 25.
Example: 56
CLIENT REQUEST
curl -X 'GET'
-H 'Accept: application/json'
'http://localhost/v2/Incidents/{id}/Events?dateTimeFrom=2013-10-20T19:20:30+01:00&dateTimeTo=2013-10-20T19:20:30+01:00&eventTypes=&offset=56&limit=56'
Responses

Success

Body
TotalResultsCountIntegerint32
ResultsArray[none]
RESPONSE
{ "TotalResultsCount": null, "Results": [ { "Type": "NoteAdded", "NoteType": "c6dbda39-d2c9-44c6-8795-81e93d096d71", "DisplayText": "Note added", "Payload": "{\"Id\":1,\"Name\":\"It's a test\"}", "PayloadFormat": "JSON", "ProcessTimeUtc": "2023-08-15T17:10:09.5231187-04:00", "InstigatorId": "1973cc40-42f9-427b-b091-63c48dc1fe1a" } ] }

The Web API was unable to process the request due to a client error (malformed request syntax, size too large, invalid request message framing, or deceptive request routing).

The token you submitted was either invalid or expired.

The token you submitted was valid, but either did not grant sufficient privilege to access the requested resource, or the Web API license is not active.

The requested resource could not be found.

The request could not be completed. Genetec Mission Control™ licenses exceeded.

The Web API was unable to process the request.

The Web API received an invalid response from the Incident Manager role.

The Web API did not receive a response to the request. The Incident Manager role might be down at the moment.