GET | /api/clients/{clientid}/emailtemplates/{templatetype} | Get an email template based on client id and template type |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class GetClientEmailTemplateRequest
{
public String clientId = null;
public String templateType = null;
public String getClientId() { return clientId; }
public GetClientEmailTemplateRequest setClientId(String value) { this.clientId = value; return this; }
public String getTemplateType() { return templateType; }
public GetClientEmailTemplateRequest setTemplateType(String value) { this.templateType = value; return this; }
}
}
Java GetClientEmailTemplateRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /api/clients/{clientid}/emailtemplates/{templatetype} HTTP/1.1 Host: accounts.dev.healthmonix.com Accept: application/xml