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

Enables a user to retrieve the attachment of a Document record.

Namespace: QPulseWebServices.Contracts.Service
Assembly: 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

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