Collapse All Expand All

C#

Q-Pulse Web Services
IIncident..::..GetIncident Method
IIncident Interface See Also Send Feedback

[This is preliminary documentation and is subject to change.]

Enables a user to view an existing incident.

Namespace: QPulseWebServices.Contracts.Service
Assembly: QPulseWebServices (in QPulseWebServices.dll) Version: 2.0.2.70

# Syntax

C#
    Incident GetIncident(
    	string token,
    	int incidentID,
    	bool includeOccurrences
    )

#### Parameters

token
  Type: System..::..String
  An authentication token previously requested from the Core service.

incidentID
  Type: System..::..Int32
  The ID of the incident to be returned

includeOccurrences
  Type: System..::..Boolean
  Whether to include occurrence records as children of the incident record. (These records can be retrieved asynchronously using the occurrence service).

#### Return Value

A representation of the newly created occurrence.

# Remarks

REST Availability: Supports HTTP POST

# Exceptions

Exception | Condition
--- | ---
ServiceFaultCode..::..ItemNotFoundInDatabase | An occurrence record with the requested number could not be found in the q-pulse database.
ServiceFaultCode..::..AuthenticationFailed | The token provided could not be authenticated.
ServiceFaultCode..::..SessionInvalid | The Q-Pulse session was invalid.

# See Also

IIncident Interface
QPulseWebServices.Contracts.Service Namespace