Overview

Skill Level: Any

Prerequisites

Use this interface to remove a contact from a database or Contact List. If your database has a key other than Email, you must include all unique key columns with their corresponding name/value pairs. If your database has no Unique Identifier defined, one or more Sync Fields must be specified in order to look up the contact.

Step-by-step

  1. Syntax of the request and response SOAP for RemoveRecipient

    Operation  <RemoveRecipient>     
    Elements  LIST_ID  Unique ID of the database or Contact List from which to remove contact.   
      EMAIL  Email address of the contact to remove.   
      COLUMN  Optional 

    Required if the database has a key other than Email or no Unique Identifier. XML nodes defining the column name and value used to look up a contact in a database or Contact List. You must include all unique key columns with their corresponding name/value pairs when using this operation on a database having a key other than
    EMAIL.

    Note: If more than one contact is found matching the lookup columns, all contacts will be removed. 

      Child Element  Name  Specifies the field name of a field which is part of the unique key for the database. 
        Value  Specifies the value for the field. 
    Example¬† <soapenv:Envelope xmlns:soapenv=”http://schemas.xmlsoap.org/soap/envelope/”
    xmlns:ses=”SilverpopApi:EngageService.SessionHeader”
    xmlns:user=”SilverpopApi:EngageService.ListMgmt.UserActions”>
    <soapenv:Body>
    <user:RemoveRecipient>
    <user:LIST_ID>24872</user:LIST_ID>
    <user:EMAIL>somebody@domain.com</user:EMAIL>
    </user:RemoveRecipient>
    </soapenv:Body>
    </soapenv:Envelope> 
       
    Response  <RESULT>     
    Elements  SUCCESS  True if successful.   
      ORGANIZATION_ID  Identifies your Watson campaign Automation Organization.   
    Example¬† <envelope:Envelope xmlns=”SilverpopApi:EngageService.ListMgmt.UserActions”
    xmlns:envelope=”http://schemas.xmlsoap.org/soap/envelope/”>
    <envelope:Header/>
    <envelope:Body>
    <RESULT>
    <SUCCESS>TRUE</SUCCESS>
    </RESULT>
    </envelope:Body>
    </envelope:Envelope> 
       

Join The Discussion

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