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

Deletes an occurrence record with the specified occurrence number.

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

Syntax

C#
bool DeleteOccurrence(
	string token,
	int id
)

Parameters

token
Type: System..::.String
An authentication token previously requested from the Core service.
id
Type: System..::.Int32
The ID of the occurrence in the Q-Pulse database.

Return Value

True if the occurrence was successfully deleted

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