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

Attaches the uploaded file to the specified record.

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

Syntax

C#
string Upload(
	string Token,
	byte[] FileStream,
	string ObjectType,
	int ObjectID
)

Parameters

Token
Type: System..::..String
An authentication token previously requested from the Core service.
FileStream
Type: array<System..::..Byte>[]()[][]
A byte[] posted over an established HTTP connection
ObjectType
Type: System..::..String
"Occurrence", "Audit", "Document" or "NonConformance"
ObjectID
Type: System..::..Int32
The ID of the Occurrence in the Q-Pulse Database

Return Value

A Success message if the attachment was successfully uploaded, or a ServiceFaultCode if not.

See Also