GET https://webapi.mymarketing.co.il/api/contacts/Subscription/Subscribers?FromDate={FromDate}&ToDate={ToDate}&Page={Page}&Limit={Limit}
Get all subscribers and the source of their status (if known). You can choose to get all subscriptions between specific dates (from/to date, the defualt is three months back)
Request Information
URI Parameters
Name
Description
Type
Additional information
from_date
The start date the campaign was last updated
date
to_date
The end date the campaign was last updated
date
page
Get a specific page (number of pages is limited)
integer
Range: inclusive between 1 and 2147483647
limit
Limit the number of items you get in the results. (Removing the "limit" will, by default, display only 20 records)
integer
Range: inclusive between 1 and 100
Body Parameters
None.
Response Information
Resource Description
Name
Description
Type
Additional information
count
integer
Response Formats
application/json, text/json
Sample:
{ "count": 1, "subscription_statistics": [ { "action": "sample string 1", "contact_name": "sample string 2", "contact_email": "sample string 3", "contact_mobile": "sample string 4", "date": "2016-12-24T14:12:12", "source": "sample string 5", "reason": "sample string 6" }, { "action": "sample string 1", "contact_name": "sample string 2", "contact_email": "sample string 3", "contact_mobile": "sample string 4", "date": "2016-12-24T14:12:12", "source": "sample string 5", "reason": "sample string 6" } ] }
application/xml, text/xml
Sample:
<ApiSubscriptionStatisticsList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models"> <count>1</count> <subscription_statistics> <ApiSubscriptionStatistics> <action>sample string 1</action> <contact_email>sample string 3</contact_email> <contact_mobile>sample string 4</contact_mobile> <contact_name>sample string 2</contact_name> <date>2016-12-24T14:12:12</date> <reason>sample string 6</reason> <source>sample string 5</source> </ApiSubscriptionStatistics> <ApiSubscriptionStatistics> <action>sample string 1</action> <contact_email>sample string 3</contact_email> <contact_mobile>sample string 4</contact_mobile> <contact_name>sample string 2</contact_name> <date>2016-12-24T14:12:12</date> <reason>sample string 6</reason> <source>sample string 5</source> </ApiSubscriptionStatistics> </subscription_statistics> </ApiSubscriptionStatisticsList>