Returns a page of targetgroups in the accounts.
1 |
GET https://api.maileon.com/1.0/targetgroups |
Attributes
Parameter | Default | Description |
---|---|---|
page_index | The index of the result page. The index must be greater or equal to 1. | |
page_size | 100 | The maximum count of items in the result page. If provided, the value of page_size must be in the range 1 to 1000. |
Example
GET https://api.maileon.com/1.0/targetgroups Content-type: application/vnd.maileon.api+xml Accept: application/vnd.maileon.api+xml Authorization: [XXX] Status: 200 OK Content-Type: application/vnd.maileon.api+xml Link: ... X-Pages: ... X-Items: ... <?xml version="1.0" encoding="UTF-8"?> <targetgroups> <targetgroup> <id>22</id> <name>alle Kontakte mit aktivem Status</name> <author>max.mustermann@xqueue.com</author> <type>regular</type> <state>uptodate</state> <contact_filter_name>alle Kontakte mit aktivem Status</contact_filter_name> <contact_filter_id>2705</contact_filter_id> <evaluated>2016-02-10 15:58:12</evaluated> <created>2013-09-05 15:43:46</created> <updated>2013-09-05 15:43:46</updated> <count_contacts>1</count_contacts> <count_active_contacts>1</count_active_contacts> </targetgroup> <targetgroup> <id>23</id> <name>Alle Testkontakte</name> <author>max.mustermann@xqueue.com</author> <type>regular</type> <state>uptodate</state> <contact_filter_name>Alle Testkontakte</contact_filter_name> <contact_filter_id>2737</contact_filter_id> <evaluated>2015-11-23 08:57:12</evaluated> <created>2014-04-08 14:13:42</created> <updated>2014-09-17 15:46:10</updated> <count_contacts>2</count_contacts> <count_active_contacts>0</count_active_contacts> </targetgroup> <targetgroup> <id>24</id> <name>Testverteiler</name> <author>max.mustermann@xqueue.com</author> <type>regular</type> <state>uptodate</state> <contact_filter_name>Testfilter</contact_filter_name> <contact_filter_id>2739</contact_filter_id> <evaluated>2016-01-11 08:43:53</evaluated> <created>2014-09-17 15:47:16</created> <updated>2016-01-11 08:43:18</updated> <count_contacts>1</count_contacts> <count_active_contacts>1</count_active_contacts> </targetgroup> </targetgroups>