Last Update: 2024-03-21
<?xml version="1.0" encoding="UTF-8" ?> <getnewsletterlist> <status></status> <public></public> <datefrom></datefrom> <datetill></datetill> <language></language> <snipplets></snipplets> <search></search> <header></header> <footer></footer> <custom1></custom1> ... <custom10></custom10> </getnewsletterlist>
Element | Format | Description |
---|---|---|
getnewsletterlist | ||
↳ status |
int |
0 .. drafts 1 .. scheduled 2 .. archived (=default) 4 .. rolling (trigger mails) 5 .. template |
↳ public | 0]1 | published for rss feed |
↳ datefrom | YYYY-mm-dd | From date when newsletter was sent if status=archived, otherwise the created date |
↳ datetill | YYYY-mm-dd | Till date when newsletter was sent if status=archived, otherwise the created date |
↳ language | de|en|... | Filter result by language |
↳ snipplets | e.g.: "1,2" | Filter result by snipplets (Comma separated list of snipplet numbers) |
↳ search | text | Filter result by a search term within defined fields |
↳ @fields | e.g. "Title,Header" | Comma separated list of fields to search in (defualt=Title,TitleInternal,CampaignItemID) |
↳ header | text | Filter result by a specific value in header (editorial) |
↳ footer | text | Filter result by a specific value in footer |
↳ custom1-10 | text | Filter result by a specific value in a custom field |
<data> <newsletter id="12345"> <title></title> <subject></subject> <senddatetime></senddatetime> <created></created> <header></header> <previewlink></previewlink> </newsletter> ... </data>
Element | Format | Description |
---|---|---|
data | ||
↳ newsletter | one newsletter | |
↳ @id | int | internal id of newsletter |
↳ title | varchar | Title |
↳ subject | YYYY-mm-dd | Subject |
↳ senddatetime | YYYY-mm-dd HH:ii:ss | Datetime when newsletter was sent |
↳ created | YYYY-mm-dd HH:ii:ss | Datetime when newsletter was created |
↳ header | text | Editoral text |
↳ previewlink | varchar | Preview url of unpersonalized newsletter |