POST 17.0/database/newsletteritems/list

Description

Retrieve a list of Newsletter Items

URI Parameters

None.

Name Description Type Additional information
Fields

Collection of string

None.

Filters

Collection of DatabaseFilter

None.

Order

string

None.

application/json, text/json

Sample:
{
  "fields": [
    "sample string 1",
    "sample string 2"
  ],
  "filters": [
    {
      "fieldName": "sample string 1",
      "value": "sample string 2",
      "operator": "sample string 3",
      "valueType": "sample string 4"
    },
    {
      "fieldName": "sample string 1",
      "value": "sample string 2",
      "operator": "sample string 3",
      "valueType": "sample string 4"
    }
  ],
  "order": "sample string 1"
}

application/xml, text/xml

Sample:
<ListOptions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Fields>
    <string>sample string 1</string>
    <string>sample string 2</string>
  </Fields>
  <Filters>
    <DatabaseFilter>
      <FieldName>sample string 1</FieldName>
      <Value>sample string 2</Value>
      <Operator>sample string 3</Operator>
      <ValueType>sample string 4</ValueType>
    </DatabaseFilter>
    <DatabaseFilter>
      <FieldName>sample string 1</FieldName>
      <Value>sample string 2</Value>
      <Operator>sample string 3</Operator>
      <ValueType>sample string 4</ValueType>
    </DatabaseFilter>
  </Filters>
  <Order>sample string 1</Order>
</ListOptions>

application/x-www-form-urlencoded

Sample:

Sample not available.

Collection of NewsletterItemsUpdate
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
  },
  {
    "mailshotID": 1,
    "newsID": 1,
    "displayOrder": 1
  }
]

application/xml, text/xml

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