All URIs are relative to https://rest.clicksend.com/v3
| Method | HTTP request | Description |
|---|---|---|
| MasterEmailTemplateCategoriesGet | GET /email/master-templates-categories | Get all master email template categories |
| MasterEmailTemplateCategoryGet | GET /email/master-templates-categories/{category_id} | Get specific master email template category |
| MasterEmailTemplateGet | GET /email/master-templates/{template_id} | Get specific master email template |
| MasterEmailTemplatesGet | GET /email/master-templates | Get all master email templates |
| MasterEmailTemplatesInCategoryGet | GET /email/master-templates-categories/{category_id}/master-templates | Get all master email templates in a category |
string MasterEmailTemplateCategoriesGet (int? page = null, int? limit = null)
Get all master email template categories
Get all master email template categories
using System;
using System.Diagnostics;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Model;
namespace Example
{
public class MasterEmailTemplateCategoriesGetExample
{
public void main()
{
// Configure HTTP basic authorization: BasicAuth
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new MasterEmailTemplatesApi();
var page = 56; // int? | Page number (optional) (default to 1)
var limit = 56; // int? | Number of records per page (optional) (default to 10)
try
{
// Get all master email template categories
string result = apiInstance.MasterEmailTemplateCategoriesGet(page, limit);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling MasterEmailTemplatesApi.MasterEmailTemplateCategoriesGet: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| page | int? | Page number | [optional] [default to 1] |
| limit | int? | Number of records per page | [optional] [default to 10] |
string
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string MasterEmailTemplateCategoryGet (int? categoryId)
Get specific master email template category
Get specific master email template category
using System;
using System.Diagnostics;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Model;
namespace Example
{
public class MasterEmailTemplateCategoryGetExample
{
public void main()
{
// Configure HTTP basic authorization: BasicAuth
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new MasterEmailTemplatesApi();
var categoryId = 56; // int? | Email category id
try
{
// Get specific master email template category
string result = apiInstance.MasterEmailTemplateCategoryGet(categoryId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling MasterEmailTemplatesApi.MasterEmailTemplateCategoryGet: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| categoryId | int? | Email category id |
string
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string MasterEmailTemplateGet (int? templateId)
Get specific master email template
Get specific master email template
using System;
using System.Diagnostics;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Model;
namespace Example
{
public class MasterEmailTemplateGetExample
{
public void main()
{
// Configure HTTP basic authorization: BasicAuth
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new MasterEmailTemplatesApi();
var templateId = 56; // int? | Email template id
try
{
// Get specific master email template
string result = apiInstance.MasterEmailTemplateGet(templateId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling MasterEmailTemplatesApi.MasterEmailTemplateGet: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| templateId | int? | Email template id |
string
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string MasterEmailTemplatesGet (int? page = null, int? limit = null)
Get all master email templates
Get all master email templates
using System;
using System.Diagnostics;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Model;
namespace Example
{
public class MasterEmailTemplatesGetExample
{
public void main()
{
// Configure HTTP basic authorization: BasicAuth
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new MasterEmailTemplatesApi();
var page = 56; // int? | Page number (optional) (default to 1)
var limit = 56; // int? | Number of records per page (optional) (default to 10)
try
{
// Get all master email templates
string result = apiInstance.MasterEmailTemplatesGet(page, limit);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling MasterEmailTemplatesApi.MasterEmailTemplatesGet: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| page | int? | Page number | [optional] [default to 1] |
| limit | int? | Number of records per page | [optional] [default to 10] |
string
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string MasterEmailTemplatesInCategoryGet (int? categoryId, int? page = null, int? limit = null)
Get all master email templates in a category
Get all master email templates in a category
using System;
using System.Diagnostics;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Model;
namespace Example
{
public class MasterEmailTemplatesInCategoryGetExample
{
public void main()
{
// Configure HTTP basic authorization: BasicAuth
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new MasterEmailTemplatesApi();
var categoryId = 56; // int? | Email category id
var page = 56; // int? | Page number (optional) (default to 1)
var limit = 56; // int? | Number of records per page (optional) (default to 10)
try
{
// Get all master email templates in a category
string result = apiInstance.MasterEmailTemplatesInCategoryGet(categoryId, page, limit);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling MasterEmailTemplatesApi.MasterEmailTemplatesInCategoryGet: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| categoryId | int? | Email category id | |
| page | int? | Page number | [optional] [default to 1] |
| limit | int? | Number of records per page | [optional] [default to 10] |
string
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]