ADO.NET Provider for Marketo

Build 25.0.9434

CreateEmailTemplate

Creates a new email template.

Execute

Sample
	EXECUTE CreateEmailTemplate Name='TestTemplateNewDriver_', FileData='PGh0bWw+Cjxib2R5Pgo8aDE+VEVTVCBIVE1MPC9oMT4KPC9ib2R5Pgo8L2h0bWw+', Description='Test Create Email Template', FolderId=27, FolderType='Folder'
	EXECUTE CreateEmailTemplate Name='TestTemplateNewDriver_', LocalPath='C:/users/cdata/file.txt', Description='Test Create Email Template', FolderId=27, FolderType='Folder'
	EXECUTE CreateEmailTemplate Name='TestTemplateNewDriver_', LocalPath='/tmp/file.txt', Description='Test Create Email Template', FolderId=27, FolderType='Folder'

Input

Name Type Required Accepts Input Streams Description
Name String True False Name of the Email Template. Must be unique under the parent folder.
Description String False False Description of the email template.
FolderId Integer True False Id of the folder where the template will be created.
FolderType String True False Type of the folder where the template will be created.
LocalPath String False False The absolute path to a file where data is read from.
InputStream Binary False True An instance of an input stream where file data is read from. Only used if LocalPath is not set.
FileData String False False Base64 string representation of the file content. Only used if LocalPath and InputStream are not set.

Result Set Columns

Name Type Description
Id Integer Id of the created email template.
URL String Url of the created email template.
Success Boolean Boolean indicating if the procedure was executed successfully. If false, the output parameter 'Details' will contain the failure details.
Details String Details of execution failure. NULL if success=true.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434