Collapse All Expand All

C#

Q-Pulse Web Services
IDocument..::..GetDocumentByRevisionID Method
IDocument Interface See Also Send Feedback

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

Enables a user to view an existing Document record by supplying its document number and revision.

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

# Syntax

C#
    Document GetDocumentByRevisionID(
    	string token,
    	int documentRevisionID
    )

#### Parameters

token
  Type: System..::..String
  An authentication token previously requested from the Core service.

documentRevisionID
  Type: System..::..Int32
  The Revision ID of the Document record to fetch.

#### Return Value

A representation of the Document record corresponding with the ID specified

# Exceptions

Exception | Condition
--- | ---
ServiceFaultCode..::..ItemNotFoundInDatabase | An Document 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

IDocument Interface
QPulseWebServices.Contracts.Service Namespace