EMLookupTablesCommitLookupTableUpload Method (DMToken, Int32, Int32, String, Boolean, ListEMLookupTableUploadMapping, Boolean, String, String, String, Boolean, Byte, Encoding)

Alterian Email Manager 6.2.3 SDK Help File
Uploads an entire lookuptable from a byte array

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

Syntax
public static DMImportStatus CommitLookupTableUpload(
	DMToken token,
	int campaignID,
	int lookupID,
	string name,
	bool shared,
	List<EMLookupTableUploadMapping> columns,
	bool hasHeaderRow,
	string delimiter,
	string textQualifier,
	string description,
	bool clearExistingData,
	byte[] fileData,
	Encoding csvEncoding
)

Parameters

token
Type: DMToken
Authentication token
campaignID
Type: SystemInt32
ID of campaign to associate LUT with
lookupID
Type: SystemInt32
Existing LUT ID
name
Type: SystemString
LUT Name
shared
Type: SystemBoolean
If LUT is shared
columns
Type: System.Collections.GenericListEMLookupTableUploadMapping
Column Mapping
hasHeaderRow
Type: SystemBoolean
Is the first row of the LUT a header
delimiter
Type: SystemString
String separating columnar data in a row
textQualifier
Type: SystemString
String surrounding columnar data in a row
description
Type: SystemString
LUT description
clearExistingData
Type: SystemBoolean
If writing to an existing LUT, clear out the LUT's contents before adding new data
fileData
Type: SystemByte
byte array contents of the LUT
csvEncoding
Type: System.TextEncoding

Return Value

Type: DMImportStatus
An import status manifest.
See Also