Retrieve incident types available in the system.

Genetec Mission Control™ Web API

Content type
OpenAPI specifications
Product line
Mission Control
Language
English
Applies to
Genetec Mission Control™ Web API
get /v4/IncidentTypes

Returns an array of incident types which have an Operational status of In service. If this user has the Monitor incidents set to Testing mode privilege, returns all incident types which have an Operational status of In service or Testing in the system.

CURL
curl -X GET \ -H "Accept: application/json" \ "http://localhost/v4/IncidentTypes?offset=56&limit=56&showTriggerable=true"
Query parameters
offset
optional
Object format: int32
This query parameter allows you to set the number of items to be skipped.
The default value for this parameter is 0. format: int32
Example: 56
limit
optional
Object format: int32
This query parameter allows you to set the number of items to retrieve. Maximum value: 100.
The default value for this parameter is 25. format: int32
Example: 56
showTriggerable
optional
Boolean
The query parameter that allows the return of disabled incident types if the user is allowed. Example: `?showTriggerable=true;
Example: true
Responses

Success

Body
TotalResultsCount
optional
Integer
format: int32
Results
optional
Array of objects

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 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.