Use EditRecipientGroups/ to edit existing recipient groups and their recipients in Higher Logic Thrive Marketing Enterprise (Thrive Marketing Enterprise).
Example
Edit a recipient group:
EXAMPLE:
{
"SessionID":"00000000-00000-0000-0000000000000",
"UserID":"SAMPLE",
"ID":12345678910,
"MessageID":2147483647,
"NewGroups":[2147483647]
}
HTTP POST
https://dna.magnetmail.net/ApiAdapter/Rest/EditRecipientGroups/
POST parameters
NOTE: This call does not have conditional or optional parameters.
Required parameters
Parameter | Value | Description |
---|---|---|
SessionID | String | This is an authentication token which can be obtained by making the authenticate call. |
UserID | String | The UserID returned in the authenticate call. |
ID | Int | The recipient ID of the recipient who is being added or unsubscribed. |
NOTE: The parameters below are required and vary depending on the purpose of the call (e.g., if it's an unsubscribe, only supply the UnsubscribeGroups parameter, etc.). |
||
NewGroups | Array | The group IDs that recipients are being added to. |
UnsubscribeGroups | Array | The group IDs that recipients are being unsubscribed from. |
MessageID | Int | The Message ID the recipients are unsubscribing from. When unsubscribing recipients, it's best to pass the message ID that is attached with the unsubscribe. This will give greater detail to users in the Thrive Marketing Enterprise interface. Otherwise, pass 0. |