EMLookupTablesBeginLookupTableUpload Method
|
Alterian Email Manager 6.2.3 SDK Help File
Start a chunked lookup table file upload
Namespace:
DMLibraryAssembly:
DMLibrary (in DMLibrary.dll) Version: 1.0.6340.17420
Syntaxpublic 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
)
Public Shared Function BeginLookupTableUpload (
token As DMToken,
campaignDocumentId As Integer,
lookupId As Integer,
name As String,
data As Byte(),
byteCount As Integer,
chunkSize As Integer,
shared As Boolean,
columns As List(Of EMLookupTableUploadMapping),
isUnicode As Boolean,
hasHeaderRow As Boolean,
delimiter As String,
textQualifier As String,
description As String,
clearExistingData As Boolean
) As Integer
public:
static int BeginLookupTableUpload(
DMToken^ token,
int campaignDocumentId,
int lookupId,
String^ name,
array<unsigned char>^ data,
int byteCount,
int chunkSize,
bool shared,
List<EMLookupTableUploadMapping^>^ columns,
bool isUnicode,
bool hasHeaderRow,
String^ delimiter,
String^ textQualifier,
String^ description,
bool clearExistingData
)
static member BeginLookupTableUpload :
token : DMToken *
campaignDocumentId : int *
lookupId : int *
name : string *
data : byte[] *
byteCount : int *
chunkSize : int *
shared : bool *
columns : List<EMLookupTableUploadMapping> *
isUnicode : bool *
hasHeaderRow : bool *
delimiter : string *
textQualifier : string *
description : string *
clearExistingData : bool -> int
DMLibrary.EMLookupTables.BeginLookupTableUpload = function(token, campaignDocumentId, lookupId, name, data, byteCount, chunkSize, shared, columns, isUnicode, hasHeaderRow, delimiter, textQualifier, description, 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:
Int32A Save Context Id.
See Also