Overview

Skill Level: Any

Prerequisites

This interface creates a new Contact List in Watson Campaign Automation. A jsessionid must be provided to create a Contact List.

Step-by-step

  1. Syntax of the request and response SOAP for CreateContactList

    Operation  <CreateContactList>   
    Elements  DATABASE_ID  The ID of the database the new Contact List will be associated with. 
      CONTACT_LIST_NAME  The name of the Contact List to be created. 
      VISIBILITY 

    Defines the visibility of the Contact List being created.

    0 ‚Äď Private

    1 ‚Äď Shared

     

    Example¬† <soapenv:Envelope xmlns:soapenv=”http://schemas.xmlsoap.org/soap/envelope/”
    xmlns:sil=”SilverpopApi:EngageService.SessionHeader”
    xmlns:sil1=”SilverpopApi:EngageService.ListMgmt.UserActions”>
    <soapenv:Header>
    <sil:sessionHeader>
    <sil:sessionid>530655D8BFFAC1DAFA448051DFDA6391</sil:sessionid>
    </sil:sessionHeader>
    </soapenv:Header>
    <soapenv:Body>
    <sil1:CreateContactList>
    <sil1:DATABASE_ID>20274</sil1:DATABASE_ID>
    <sil1:CONTACT_LIST_NAME>Premium Contacts</sil1:CONTACT_LIST_NAME>
    <sil1:VISIBILITY>0</sil1:VISIBILITY>
    </sil1:CreateContactList>
    </soapenv:Body>
    </soapenv:Envelope> 
     
    Response  <RESULT>   
    Elements  SUCCESS  True if successful. 
      CONTACT_LIST_ID  The ID of the Contact List that was created. 
    Example¬† <envelope:Envelope xmlns:envelope=”http://schemas.xmlsoap.org/soap/envelope/”>
    <envelope:Header/>
    <envelope:Body xmlns=”SilverpopApi:EngageService.ListMgmt.UserActions”>
    <RESULT>
    <SUCCESS>true</SUCCESS>
    <CONTACT_LIST_ID>131145</CONTACT_LIST_ID>
    </RESULT>
    </envelope:Body>
    </envelope:Envelope> 
     

Join The Discussion

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