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

Enables a user to view an existing Document record and any associated folders by supplying its document ID.

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

Syntax

C#
FolderDocument GetDocumentAndFolders(
	string token,
	int documentID
)

Parameters

token
Type: System..::..String
An authentication token previously requested from the Core service.
documentID
Type: System..::..Int32
The ID of the Document record to fetch.

Return Value

A representation of the Document record corresponding with the ID specified and a list of folders it is associated with

Exceptions

ExceptionCondition
ServiceFaultCode..::..ItemNotFoundInDatabaseA Document record with the requested ID 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