Method :POST

URL: https://apiv1.publicators.com/api/Recipients/CancelFutureEventTypeCampaignsForRecipient

Enables you to cancel existing scheduled email/s that were set by an event type campaigns.

Request Information

URI Parameters

None.

Body Parameters

CancelFutureEventTypeCampaignsForRecipientBindingModel
NameDescriptionTypeAdditional information
Auth

AuthorizationTokenBindingModel

Required

CampaignId

Campaign ID. In a case of null - Cancel all waiting launches from all event type campaigns

integer

None.

Email

Recipient Email. Max length: 100 characters long.

string

Required

Request Formats

application/json, text/json

Sample:
{
  "Auth": {
    "Token": "87cb3e89-5316-4c72-9c62-c7bf624ab04d"
  },
  "CampaignId": 1,
  "Email": "sample string 1"
}

Response Information

Resource Description

CancelFutureEventTypeCampaignsForRecipientViewModel
NameDescriptionTypeAdditional information
Affected

Number of canceled

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Affected": 1
}