[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.ServiceAssembly: QPulseWebServices (in QPulseWebServices.dll) Version: 2.0.2.70
Syntax
| C# |
|---|
Document GetDocumentByRevisionReference( string token, string documentNumber, string documentRevisionReference ) |
Parameters
- token
- Type: System..::..String
An authentication token previously requested from the Core service.
- documentNumber
- Type: System..::..String
The Number of the Document record to fetch.
- documentRevisionReference
- Type: System..::..String
The Revision 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. |