GetTemplates

Gets list of all templates

This method returns all saved templates within your account.

SOAP action: http://apiconnector.com/v2/ApiService/GetTemplates

πŸ“˜

Input and output parameters

The input and output parameters for this method are:

Input parameters

  • Template ID - required; integer

Output parameters

  • GetTemplatesResult - array of Template
    • Template
      • Id - integer
      • Name - string
      • Subject - string
      • FromName - string
      • HtmlContent - string
      • PlainTextContent - string
      • ReplyAction - string (Unset', 'WebMailForward', 'Webmail', 'Delete')
      • ReplyToAddress - string

Example

using (var client = new ApiServiceClient())
{
	client.ClientCredentials.UserName.UserName = "username";
	client.ClientCredentials.UserName.Password = "password";

	var select = 1000;
	var skip = 0;
	var templates = client.GetTemplates(select, skip);
}