PUT 17.0/database/newsletteritems/{mailshotid}/{newsid}

Description

Update existing Newsletter Items

URI Parameters

Name Description Type Additional information
mailshotID

integer

Required

newsID

integer

Required

Name Description Type Additional information
MailshotID

integer

None.

NewsID

integer

None.

DisplayOrder

integer

None.

application/json, text/json

Sample:
{
  "mailshotID": 1,
  "newsID": 1,
  "displayOrder": 1
}

application/xml, text/xml

Sample:
<NewsletterItemsUpdate xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <MailshotID>1</MailshotID>
  <NewsID>1</NewsID>
  <DisplayOrder>1</DisplayOrder>
</NewsletterItemsUpdate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Name Description Type Additional information
MailshotID

integer

None.

NewsID

integer

None.

DisplayOrder

integer

None.

application/json, text/json

Sample:
{
  "mailshotID": 1,
  "newsID": 2,
  "displayOrder": 3
}

application/xml, text/xml

Sample:
<NewsletterItems xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <MailshotID>1</MailshotID>
  <NewsID>2</NewsID>
  <DisplayOrder>3</DisplayOrder>
</NewsletterItems>