POST 17.0/app/correspondence/email/newsletter

Description

Creates a preview for a newsletter email

URI Parameters

None.

Name Description Type Additional information
TemplateId

integer

None.

Body

string

None.

application/json, text/json

Sample:
{
  "templateId": 1,
  "body": "sample string 2"
}

application/xml, text/xml

Sample:
<NewsletterPreviewRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <TemplateId>1</TemplateId>
  <Body>sample string 2</Body>
</NewsletterPreviewRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Name Description Type Additional information
Body

string

None.

application/json, text/json

Sample:
{
  "body": "sample string 1"
}

application/xml, text/xml

Sample:
<NewsletterPreviewResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Body>sample string 1</Body>
</NewsletterPreviewResponse>