Collapse All Expand All

C#

Q-Pulse Web Services
IAttachment..::..Download Method
IAttachment Interface See Also Send Feedback

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

Retrieve an embeddded attachment from the Q-Pulse database.

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

# 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

IAttachment Interface
QPulseWebServices.Contracts.Service Namespace