POST Marketing/NewsletterTemplate

GetNewsletterTemplates with same parentID

Request Information

URI Parameters

None.

Body Parameters

GetNewsletterTemplateRequest
NameDescriptionTypeAdditional information
ID

integer

None.

Lang

string

None.

StoreID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Lang": "sample string 2",
  "StoreID": 3
}

application/xml, text/xml

Sample:
<GetNewsletterTemplateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.View.Marketing">
  <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">sample string 2</Lang>
  <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">3</StoreID>
  <ID>1</ID>
</GetNewsletterTemplateRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NewsletterTemplate
NameDescriptionTypeAdditional information
ID

integer

None.

NewsletterID

integer

None.

Text

The template content

string

Required

String length: inclusive between 0 and 256000

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "NewsletterID": 2,
  "Text": "sample string 3"
}

application/xml, text/xml

Sample:
<NewsletterTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.View.Marketing">
  <ID>1</ID>
  <NewsletterID>2</NewsletterID>
  <Text>sample string 3</Text>
</NewsletterTemplate>