[This is preliminary documentation and is subject to change.]
Enables a user to view an existing occurrence.
Namespace:
QPulseWebServices.Contracts.ServiceAssembly: QPulseWebServices.Contracts (in QPulseWebServices.Contracts.dll) Version: 2.0.580.15
Syntax
| C# |
|---|
Occurrence GetOccurrence( string token, int occurrenceID ) |
Parameters
- token
- Type: System..::.String
An authentication token previously requested from the Core service.
- occurrenceID
- Type: System..::.Int32
The ID of the occurence to be returned
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. |