[This is preliminary documentation and is subject to change.]
Enables a user to retrieve the attachment of a Document record.
Namespace: QPulseWebServices.Contracts.ServiceAssembly: QPulseWebServices.Contracts (in QPulseWebServices.Contracts.dll) Version: 2.100.591.48
Syntax
| C# |
|---|
DocumentAttachment GetDocumentAttachment( 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
An array of DocumentFolder records
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. |