EMLookupTablesBeginLookupTableUpload Method

Alterian Email Manager 6.2.3 SDK Help File
Start a chunked lookup table file upload

Namespace:  DMLibrary
Assembly:  DMLibrary (in DMLibrary.dll) Version: 1.0.6340.17420

Syntax
public static int BeginLookupTableUpload(
	DMToken token,
	int campaignDocumentId,
	int lookupId,
	string name,
	byte[] data,
	int byteCount,
	int chunkSize,
	bool shared,
	List<EMLookupTableUploadMapping> columns,
	bool isUnicode,
	bool hasHeaderRow,
	string delimiter,
	string textQualifier,
	string description,
	bool clearExistingData
)

Parameters

token
Type: DMToken
Authentication token.
campaignDocumentId
Type: SystemInt32
Id of the campaign associated with the lookup table.
lookupId
Type: SystemInt32
Lookup table Id.
name
Type: SystemString
Lookup table name.
data
Type: SystemByte
The first byte array chunk.
byteCount
Type: SystemInt32
Total number of bytes in the file.
chunkSize
Type: SystemInt32
The size of each binary chunk
shared
Type: SystemBoolean
Sets a flag to share this resource.
columns
Type: System.Collections.GenericListEMLookupTableUploadMapping
List of column mappings
isUnicode
Type: SystemBoolean
Sets a flag to decode the file using unicode instead of ANSI.
hasHeaderRow
Type: SystemBoolean
Sets a flag that tells the parser to ignore the first line in the file.
delimiter
Type: SystemString
File delimiter.
textQualifier
Type: SystemString
File Text Qualifier.
description
Type: SystemString
clearExistingData
Type: SystemBoolean

Return Value

Type: Int32
A Save Context Id.
See Also