Overview

Skill Level: Any

Step-by-step

  1. Syntax of the request and response XML for DoubleOptInRecipient

    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.

    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 bepart 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
    <Envelope>
    <Body>
    <DoubleOptInRecipient>
    <LIST_ID>85628</LIST_ID>
    <COLUMN>
    <NAME>Customer Id</NAME>
    <VALUE>123-45-6789</VALUE>
    </COLUMN>
    <COLUMN>
    <NAME>EMAIL</NAME>
    <VALUE>somebody@domain.com</VALUE>
    </COLUMN>
    </DoubleOptInRecipient>
    </Body>
    </Envelope>
       
    Response <RESULT>    
    Elements SUCCESS True if successful.
      RecipientId ID of newly added contact.
      ORGANIZATION_ID Identifies your Watson Campaign Organization.
    Example
    <Envelope>
    <Body>
    <RESULT>
    <SUCCESS>TRUE</SUCCESS>
    <RecipientId>33535067</RecipientId>
    </RESULT>
    </Body>
    </Envelope>
       

Join The Discussion

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