Returns the revenue (sum of conversions ‘values’).
1 |
GET https://api.maileon.com/1.0/reports/analytics/conversions/revenue |
Attributes
Parameter | Default | Description |
from_date | If provided, only the revenue values after or equal (including) the given date will be returned. The value of from_date must be a numeric value representing a point in time milliseconds after January 1, 1970 00:00:00 | |
to_date | If provided, only the revenue values before (excluding) the given date will be returned. The value of to_date must be a numeric value representing a point in time milliseconds after January 1, 1970 00:00:00 | |
mailing_id | Multivalued parameter to filter the revenue values by mailings. Each value must correspond to a mailing id. | |
ids | Multivalued parameter to filter the revenue values by contacts. Each value must correspond to a contact id. | |
emails | Multivalued parameter to filter the revenue values by email addresses. | |
eids | Multivalued parameter to filter the revenue values by external ids. Each value must correspond to a contacts external id | |
site_ids | Multivalued parameter to filter the revenue values by site ids. Each value must correspond to a valid site id. | |
goal_ids | Multivalued parameter to filter the revenue values by goal ids. Each value must correspond to a valid goal id. | |
link_ids | Multivalued parameter to filter the revenue values by link ids. Each value must correspond to a valid link id. |
Example
1 2 |
GET https://api.maileon.com/1.0/reports/analytics/conversions/revenue?siteId=5&siteId=19 Authorization: Basic XXXXXXXXXXXXXXX |
1 2 3 4 |
Status: 200 OK Content-Type: application/vnd.maileon.api+xml <revenue>1320.90</revenue> |