Method :POST

URL: https://apiv1.publicators.com/api/Reports/GetReportAllUnsubscribedMailsByCampaignID

Get all Unsubscribed emails by campaign ID

Request Information

URI Parameters

None.

Body Parameters

Json format: ReportGetCampaignByIdBindingeModel

ReportGetCampaignByIdBindingeModel
NameDescriptionTypeAdditional information
Auth

Token

AuthorizationTokenBindingModel

Required

ID

Campaign ID

integer

Required

IsReturnUniqueData

(Optional): Return unique emails with the first timestamp that event occurred for each email

boolean

None.

FilterFromCreated

(Optional): Return all records from timestamp created: yyyy/mm/dd hh:mm:ss

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Auth": {
    "Token": "f42c83ba-0c77-4987-ac74-5de9360c1db4"
  },
  "ID": 1,
  "IsReturnUniqueData": true,
  "FilterFromCreated": "2018/06/21 13:00:59"
}

Response Information

Resource Description

Json format: ReportTrackingViewModel

Collection of ReportTrackingViewModel
NameDescriptionTypeAdditional information
Email

Recipient email

string

None.

TimeStamp

Track created

date

None.

Counter

Number of tracking per email in acase of returning Unique Data

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Email": "sample string 1",
    "TimeStamp": "2018/06/21 13:00:59",
    "Counter": 3
  },
  {
    "Email": "sample string 1",
    "TimeStamp": "2018/06/21 13:00:59",
    "Counter": 3
  }
]