[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.ServiceAssembly: QPulseWebServices.Contracts (in QPulseWebServices.Contracts.dll) Version: 2.0.580.15
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
| Exception | Condition |
|---|---|
| ServiceFaultCode..::.ItemNotFoundInDatabase | A Document record with the requested ID 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. |