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

Enables a user to view an existing incident.

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

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

ExceptionCondition
ServiceFaultCode..::..ItemNotFoundInDatabaseAn occurrence record with the requested number could not be found in the q-pulse database.
ServiceFaultCode..::..AuthenticationFailedThe token provided could not be authenticated.
ServiceFaultCode..::..SessionInvalidThe Q-Pulse session was invalid.

See Also