[This is preliminary documentation and is subject to change.]
Enables a user to raise a new occurrence.
Namespace: QPulseWebServices.Contracts.ServiceAssembly: QPulseWebServices.Contracts (in QPulseWebServices.Contracts.dll) Version: 2.100.591.48
Syntax
| C# |
|---|
Occurrence CreateNewOccurrence( string token, Occurrence newOccurrence ) |
Parameters
- token
- Type: System..::..String
An authentication token previously requested from the Core service.
- newOccurrence
- Type: QPulseWebServices.Contracts.Data..::..Occurrence
The occurence to raise within the Q-Pulse system.
Return Value
A representation of the newly created occurrence.
Remarks
REST Availability: Supports HTTP POST
Exceptions
| Exception | Condition |
|---|---|
| ServiceFaultCode..::..AuthenticationFailed | The token provided could not be authenticated. |
| ServiceFaultCode..::..SessionInvalid | The Q-Pulse session was invalid. |