For more information on using API

GET http://webapi.mymarketing.co.il/api/contacts/{id}/Statistics/Campaign/{campaignId}

Gets customer statistics for specific campaign

Request Information

URI Parameters

Name

Description

Type

Additional information

id

integer

Required

campaignId

integer

Required

Body Parameters

None.

Response Information

Resource Description

ContactCampaignStatsDTO

Name

Description

Type

Additional information

opens

integer
open_​date

Last open date

date
clicks

integer
click_date

Last click date

date
bounce

boolean
​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:
{
  "opens": 1,
  "open_​date": "2016-12-24T14:12:12",
  "clicks": 2,
  "click_date": "2016-12-24T14:12:12",
  "bounce": true,
  "​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": 6
}

application/xml, text/xml

Sample:
<ContactCampaignStatsDTO 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>
  <click_date>2016-12-24T14:12:12</click_date>
  <clicks>2</clicks>
  <customer_id>6</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>
</ContactCampaignStatsDTO>