Problem/Motivation
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork mautic_eca-3530749
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
abhisekmazumdarComment #4
mallezieAside from the operation field to add or remove, this also needs fields for the other DNC parameters.
See https://developer.mautic.org/#add-do-not-contact
channel Channel of DNC. For example ‘email’, 'sms’… Default is email.
reason Int value of the reason. Use Contacts constants: Contacts::UNSUBSCRIBED (1), Contacts::BOUNCED (2), Contacts::MANUAL (3). Default is Manual
channelId ID of the entity which was the reason for unsubscription
comments A text describing details of DNC entry
For remove, only the channel is a supported parameter.
This last part means we will need two different action, one for add to DNC, and one for remove from DNC.
Comment #5
abhisekmazumdarMade the changes. Please review the two new actions for DNC.
Comment #6
mallezieYes, that looks good.
Comment #7
abhisekmazumdarThank You.