Overview

Skill Level: Any

Prerequisites

This interface confirms the Opt‐in for a contact in a Double Opt‐in Database. Any fields specified will override any previously specified values set when creating the contact from the Pre Opt‐in state.

Note: You must specify all key fields in the COLUMN elements.

Step-by-step

  1. Syntax of the request and response SOAP for DoubleOptInRecipient

    Operation <DoubleOptInRecipient>    
    Elements LIST_ID The ID of the Double Opt‐In database to which Watson Campaign Automation will add the contact.  
      SEND_AUTOREPLY Optional If true and database has a confirmation autoresponder, Watson Campaign Automation will
    send the confirmation.
      ALLOW_HTML Optional If true, Watson Campaign Automation will interpret and properly render HTML within a value in the text field. The default value is false and will convert HTML tags to character entity references (tags display as literal characters in the field).
      COLUMN XML nodes defining the column name and value. Note: A node must exist for the Email column. Each node must have a Name tag and a Value tag. Unique key columns must be part of the submission with column names and values.  
      Child Elements NAME Defines the field name. The name of the Email column must be
    EMAIL. The name of the email type column must be EMAIL_TYPE.
        VALUE Contains the field value.
    Example <soapenv:Envelope xmlns:soapenv=”http://schemas.xmlsoap.org/soap/envelope/”
    xmlns:ses=”SilverpopApi:EngageService.SessionHeader”
    xmlns:rec=”SilverpopApi:EngageService.ListMgmt.RecipientActions”>
    <soapenv:Body>
    <rec:DoubleOptInRecipient>
    <rec:LIST_ID>46860</rec:LIST_ID>
    <rec:COLUMN>
    <rec:NAME>EMAIL</rec:NAME>
    <rec:VALUE>somebody@domain.com</rec:VALUE>
    </rec:COLUMN>
    </rec:DoubleOptInRecipient>
    </soapenv:Body>
    </soapenv:Envelope>
       
    Response <RESULT>    
    Elements SUCCESS True if successful.  
      RecipientId ID of newly added contact.  
      ORGANIZATION_ID Identifies your Watson Campaign Organization.  
    Example <envelope:Envelope xmlns:envelope=”http://schemas.xmlsoap.org/soap/envelope/”>
    <envelope:Header/>
    <envelope:Body xmlns=”SilverpopApi:EngageService.ListMgmt.RecipientActions”>
    <RESULT>
    <SUCCESS>true</SUCCESS>
    <RecipientId>2261663731</RecipientId>
    <ORGANIZATION_ID>1dcd49d‐108b594203df528764d624db129b32c21fbca0cb8d6
    </ORGANIZATION_ID>
    </RESULT>
    </envelope:Body>
    </envelope:Envelope>
       

Join The Discussion

Your email address will not be published. Required fields are marked *