Variable | Type | Description |
---|---|---|
newsletter_id | int|string | The ID of the newsletter for which to get the history |
count | int|string | number of entries to return. Use for pagination. Maximum value is 5000 |
before_timestamp | string | If greater than 0, only entries before this timestamp (microtime) will de returned. Use for pagination. Example: 1503058928.0391 |
Parameter | Description |
---|---|
subscriber_id | The id of the subscriber |
The email of the subscriber | |
date | The date of the action |
newsletter_id | The ID of the newsletter |
newsletter_subject | The subject of the newsletter |
action | The action type |
timestamp | The date of the action (microseconds timestamp) |
[ { "subscriber_id": "100001", "email": "email1@example.com", "newsletter_id": 10001, "newsletter_subject": "My Subject 1", "date": "13 Mar 2018, 17:11", "action": "view", "timestamp": 1563894796.9118 }, { "subscriber_id": "100002", "email": "email2@example.com", "newsletter_id": 10002, "newsletter_subject": "My Subject 2", "date": "13 Mar 2018, 17:10", "action": "view", "timestamp": 1563894680.9266 } ]
Code | Message | Description |
---|---|---|
407 | Missing required param newsletter_id | newsletter_id param is required |
407 | Missing required param count | count param is required |
407 | Missing required param before_timestamp | before_timestamp param is required |
12 | Count cannot be higher than 5000 | Count cannot be higher than 5000 |
131 | No such newsletter with ID: %s. | Invalid access to newsletter_id |
{ "err": true, "message": "Missing required param newsletter_id", "code": 407 }
{ "err": true, "message": "Missing required param count", "code": 407 }
{ "err": true, "message": "Missing required param before_timestamp", "code": 407 }
{ "err": true, "message": "Count cannot be higher than 5000", "code": 12 }