[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.Contracts (in QPulseWebServices.Contracts.dll) Version: 2.0.580.15

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

ExceptionCondition
ServiceFaultCode..::.ItemNotFoundInDatabaseAn Document 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