Retrieve all incidents (GET)


The GET command retrieves a list of all incidents matching criteria that you set via parameters.

Command overview

Method — GET
 Resource —incidents

Parameters

 1 This parameter is required.

Sample request

https://10.0.0.1/rest/incidentAPI/1.0/incidents?usr=jdoe&pwd=pa55w0rd!&timeRange=last_30days-five_minutes&status=new

Sample response

<response>
 <status result="success"/>
 <result>
  <incidents unCappedCount="35">
   <incident id="21570" critical="false" status="NEW">
    <startTime>1305939000</startTime>
    <endTime>1305939300</endTime>
    <age weeks="2" days="6" hours="7" minutes="59"/>
    <detectionTrace rule="UPPER_BOUNDARY_BROKEN"/>
    <abnormality value="4"/>
    <affectedSessions count="1"/>
    <urgency rating="13"/>
    <signalHighlights highestBoundary="0.001"
    lowestBoundary="0" highestValue="1" lowestValue="1"/>
    <source signalId="97" category="wpPerformance">
    <signalName>Performance incidents for Geo: Europe</signalName>
    <watchpoint id="20" type="page" status="active">
     <name>Geo: Europe</name>
    </watchpoint>
    </source>
    <alert/>
   </incident>
   <incident id="21564" critical="false" status="NEW">
    <startTime>1305936900</startTime>
    <endTime>1305938100</endTime>
    <age weeks="2" days="6" hours="8" minutes="34"/>
    <detectionTrace rule="UPPER_BOUNDARY_BROKEN"/>
    <abnormality value="4"/>
    <affectedSessions count="7"/>
    <urgency rating="20"/>
    <signalHighlights highestBoundary="0.0342" lowestBoundary="0"
    highestValue="0.2353" lowestValue="0.0164"/>
    <source signalId="98" category="wpAvailability">
    <signalName>Availability incidents for Geo: Europe</signalName>
    <watchpoint id="20" type="page" status="active">
     <name>Geo: Europe</name>
    </watchpoint>
    </source>
    <alert/>
   </incident>
  </incidents>
  <timeZone><offset>-14400000</offset></timeZone>
 </result>
</response>

back to top

Related topic

Incident-XML-reference

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC TrueSight App Visibility Manager 10.5