ADO.NET Provider for Marketo

Build 25.0.9434

UpdateEmailTemplateContent

Updates the content of the given email template.

Execute

Sample
	EXECUTE UpdateEmailTemplateContent EmailTemplateId=1054, FileData='PGh0bWw+Cjxib2R5Pgo8aDE+VEVTVCBIVE1MIFVQREFURUQ8L2gxPgo8L2JvZHk+CjwvaHRtbD4='
	EXECUTE UpdateEmailTemplateContent EmailTemplateId=1054, LocalPath='C:/users/cdata/file.txt'
	EXECUTE UpdateEmailTemplateContent EmailTemplateId=1054, LocalPath='/tmp/file.txt'

Input

Name Type Required Accepts Input Streams Description
EmailTemplateId Integer True False Id of the email template to update.
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
EmailTemplateId Integer Id of the updated 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