Click or drag to resize

commonattachFile Method

Attaches a file to a note

Namespace:  ctDynamicsSL
Assembly:  ctDynamicsSL (in ctDynamicsSL.dll) Version: 2021.9.16.1 (2021.09.16.01)
Syntax
C#
[WebMethodAttribute(MessageName = "attachFile", Description = "uploads a file")]
[SoapHeaderAttribute("mySLHeader", Direction = SoapHeaderDirection.In)]
[ScriptMethodAttribute(UseHttpGet = false, ResponseFormat = ResponseFormat.Json)]
public vs_attachment attachFile(
	string AttachmentType,
	string ScreenNumber,
	string TableName,
	int NoteId,
	string CpnyID,
	string NameOfFile,
	string Descr,
	byte[] fileContent
)

Parameters

AttachmentType
Type: SystemString
ScreenNumber
Type: SystemString
TableName
Type: SystemString
NoteId
Type: SystemInt32
CpnyID
Type: SystemString
NameOfFile
Type: SystemString
Descr
Type: SystemString
fileContent
Type: SystemByte

Return Value

Type: vs_attachment
See Also