Email.Template.Update

Description

Updates email template

Request Parameters

APIKey = {string} (required)
The API key you are using to authenticate the access.
Command = {Email.Template.Update} (required)
API Command
ResponseFormat = {JSON | XML} (required)
Response format
JSONPCallBack = {bool}
Send this parameter for cross-domain. More info about JSONP can be found here: http: //en.wikipedia.org/wiki/JSON#JSONP
TemplateID = {string} (required)
Template ID to update
TemplateName = {string} (required)
Name of the email template
TemplateDescription = {string} (required)
Description of the email template
TemplateSubject = {string} (required)
Subject of the email template
TemplateHTMLContent = {string} (required)
HTML content of the email template
TemplatePlainContent = {string} (required)
Plain content of the email template
TemplateThumbnailPath = {string} (required)
Thumbnail path of the template on the server
RelOwnerUserID = {string} (required)
Owner user ID of the template

Response Parameters

Success = {true | false}
States if there is an error or not
ErrorCode = {integer}
If there is an error, error's code

Error Codes

1
Template ID is missing
2
Invalid template ID
99998
Authentication failure or session expired
99999
Not enough privileges
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Email.Create

Description Creates a blank email record for user. Request Parameters APIKey = {string}...

Email.Delete

Description Deletes given email. Request Parameters APIKey = {string} (required) The API key...

Email.Get

Description Retrieves all information of given email. Request Parameters APIKey = {string}...

Emails.Get

Description Returns the list of email contents created so far Request Parameters APIKey =...

Email.Update

Description Updates custom field information. Request Parameters APIKey = {string}...