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

Retrieve an embeddded attachment from the Q-Pulse database.

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

Syntax

C#
string Download(
	string Token,
	string ObjectType,
	int ObjectID,
	int AttachmentID
)

Parameters

Token
Type: System..::.String
An authentication token previously requested from the Core service.
ObjectType
Type: System..::.String
"Occurrence", "Audit", "Document" or "NonConformance"
ObjectID
Type: System..::.Int32
The ID of the record in the Q-Pulse Database
AttachmentID
Type: System..::.Int32
The ID of the Attachment in the Q-Pulse database.

Return Value

The attached file, (or collection of files as a zip file).

See Also