GET | /api/clients/{clientid}/emailtemplates/{templatetype} | Get an email template based on client id and template type |
---|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Hmx.Accounts.ServiceModels;
namespace Hmx.Accounts.ServiceModels
{
public partial class GetClientEmailTemplateRequest
{
public virtual string ClientId { get; set; }
public virtual string TemplateType { get; set; }
}
}
C# GetClientEmailTemplateRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
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: text/csv