GET https://webapi.mymarketing.co.il/api/contacts/{id}/Statistics/OperationMessage/{messageId}
Gets customer statistics for specific operation message
Request Information
URI Parameters
Name
Description
Type
Additional information
id
integer
Required
messageId
integer
Required
Body Parameters
None.
Response Information
Resource Description
Name
Description
Type
Additional information
sent
integer
opens
integer
open_date
Last open date
date
clicks
integer
click_date
Last click date
date
bounce
boolean
bounceReason
string
bounce_date
date
unsubscribe
boolean
unsubscribe_date
date
spam_complaint
boolean
spam_complaint_date
date
customer_id
integer
Response Formats
application/json, text/json
Sample:
{ "sent": 1, "opens": 1, "open_date": "2016-12-24T14:12:12", "clicks": 2, "click_date": "2016-12-24T14:12:12", "bounce": true, "bounceReason": "sample string 4", "bounce_date": "2016-12-24T14:12:12", "unsubscribe": true, "unsubscribe_date": "2016-12-24T14:12:12", "spam_complaint": true, "spam_complaint_date": "2016-12-24T14:12:12", "customer_id": 7 }
application/xml, text/xml
Sample:
<ContactTmmStatsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models"> <_x200B_bounce_x200B__date_x200B_>2016-12-24T14:12:12</_x200B_bounce_x200B__date_x200B_> <bounce>true</bounce> <bounceReason>sample string 4</bounceReason> <click_date>2016-12-24T14:12:12</click_date> <clicks>2</clicks> <customer_id>7</customer_id> <open__x200B_date>2016-12-24T14:12:12</open__x200B_date> <opens>1</opens> <spam_complaint>true</spam_complaint> <spam_complaint_date_x200B_>2016-12-24T14:12:12</spam_complaint_date_x200B_> <unsubscribe>true</unsubscribe> <unsubscribe_date>2016-12-24T14:12:12</unsubscribe_date> <sent>1</sent> </ContactTmmStatsDTO>