Set Email Templates

Purpose
With this action, you can set the subject and content for renewal emails. This will be the email that will be sent to the customer using your SMTP settings from thesslstore.com reseller dashboard.

LIVE URL:

https://api.thesslstore.com/rest/setting/settemplate

SANDBOX URL:

https://sandbox-wbapi.thesslstore.com/rest/setting/settemplate

HTTP VERB
POST

PARAMETERS
JSON :
Content-type: application/json; charset=utf-8;

{
	"AuthRequest":{
		"PartnerCode":"String content",
		"AuthToken":"String content",
		"ReplayToken":"String content",
		"UserAgent":"String content"
	},
	"EmailSubject":"String content",
	"EmailMessage":"String content",
	"isDisabled":true,
	"EmailTemplateTypes":0
}

XML:
Content-type: application/xml; charset=utf-8;

<ReminderTemplateRequest>
<AuthRequest>
<PartnerCode>String content</PartnerCode>
<AuthToken>String content</AuthToken>
<ReplayToken>String content</ReplayToken>
<UserAgent>String content</UserAgent>
</AuthRequest>
<EmailSubject>String content</EmailSubject>
<EmailMessage>String content</EmailMessage>
<isDisabled>true</isDisabled>
<EmailTemplateTypes>before90days</EmailTemplateTypes>
</ReminderTemplateRequest>

PARAMETERS
JSON :

{
	"isError":true,
	"Message":["String content"],
	"Timestamp":"String content",
	"ReplayToken":"String content",
	"InvokingPartnerCode":"String content"
}

XML:

<AuthResponse>
<isError>true</isError>
<Message>
<string>String content</string>
<string>String content</string>
</Message>
<Timestamp>String content</Timestamp>
<ReplayToken>String content</ReplayToken>
<InvokingPartnerCode>String content</InvokingPartnerCode>
</AuthResponse>

Fields Explanation
• R – Required
• O – Optional
• I – Ignore (not applicable)

NAME FROM Field Req. Type Description
AuthRequest.AuthToken Request R String This is an alpha-numeric token code provided to you by thesslstore.com. It is required in all requests.
AuthRequest.PartnerCode Request R String This is an alpha-numeric code provided to you by thesslstore.com. It is required in all requests.
AuthRequest.ReplayToken Request O String This is an alpha-numeric code provided by you in order request and thesslstore.com sent back in request.
AuthRequest.UserAgent Request O String User Agent to identify the request coming from.
ReminderTemplateRequest.EmailMessage Request R String Whole message of the Template.
ReminderTemplateRequest.EmailSubject Request R String This is Subject of Email Template.
ReminderTemplateRequest.isDisabled Request R Boolean Status this email template is Enabled or not.
ReminderTemplateRequest.EmailTemplateTypes Request R String Total days remider for email template Supported Values:
reminderbefore90days = 0,
reminderbefore60days = 1,
reminderbefore30days = 2,
reminderbefore7days = 3,
reminderafter7days = 4,
enrollmentlink=5
AuthResponse.InvokingPartnerCode Response N/A String This is an alpha-numeric code provided to you by thesslstore.com.
AuthResponse.isError Response N/A Boolean Return true if any error occurred during Order processing.
AuthResponse.ReplayToken Response N/A String The value of the ReplayToken which provide by you in Order request.
AuthResponse.Timestamp Response N/A String The Date and time when user gets the response. A date timestamp used in a variety of contexts. Note that the XML format is: YYYY-DD-MMTHH:MM:SS:000Z (for example, 2001-01-01T24:00:00:000Z is for Jan 1, 2001 at midnight).