[This is preliminary documentation and is subject to change.]
Reject occurrence takes an occurence Id and sets the Occurrence record with that Id to be Rejected.
It will throw an exception when the occurrence does not exist or when the occurrence has already been accepted.
Otherwise it successfully rejects the occurrence and will store a note detailing the reason behind the rejection
Namespace:
QPulseWebServices.Contracts.ServiceAssembly: QPulseWebServices.Contracts (in QPulseWebServices.Contracts.dll) Version: 2.0.590.81
Syntax
Parameters
- token
- Type: System..::.String
Authentication token
- occurrenceID
- Type: System..::.Int32
Used to specify what occurrence is to be rejected
- note
- Type: System..::.String
Used to detail the reason behind the rejection
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..::.InvalidOperation | An occurrence that has already been accepted can not then be rejected |
| ServiceFaultCode..::.AuthenticationFailed | The token provided could not be authenticated. |
| ServiceFaultCode..::.SessionInvalid | The Q-Pulse session was invalid. |