POST Email/UpdateTemplateDetailById

Request Information

URI Parameters

None.

Body Parameters

TemplateModel
NameDescriptionTypeAdditional information
subject

string

None.

Id

integer

None.

footer2

string

None.

Header

string

None.

Body

string

None.

Footer

string

None.

Request Formats

application/json, text/json

Sample:
{
  "subject": "sample string 1",
  "Id": 1,
  "footer2": "sample string 2",
  "Header": "sample string 3",
  "Body": "sample string 4",
  "Footer": "sample string 5"
}

application/xml, text/xml

Sample:
<TemplateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HLSClientPortal.Models">
  <Body>sample string 4</Body>
  <Footer>sample string 5</Footer>
  <Header>sample string 3</Header>
  <Id>1</Id>
  <footer2>sample string 2</footer2>
  <subject>sample string 1</subject>
</TemplateModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TemplateModel'.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />