Collapse All Expand All

C#

Q-Pulse Web Services
IOccurrence..::.DeleteOccurrence Method
IOccurrence Interface See Also Send Feedback

[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

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

IOccurrence Interface
QPulseWebServices.Contracts.Service Namespace