Overview

Skill Level: Any

Prerequisites

This interface exports the specified Ruleset and all associated content (including images), from the Asset Library as a .zip file. Watson Campaign Automation places the file in the FTP or Stored Files directory based on the user’s choice.

Note: Stored Files is the default directory if user does not select a specific location.

Step-by-step

  1. Syntax of the request and response SOAP for ExportDCRuleset

    Operation <ExportDCRuleset>    
    Elements RULESET_ID Specifies the Ruleset to export.  
      MOVE_TO_FTP Optional

    Use the MOVE_TO_FTP parameter to retrieve the output file programmatically. If specified, Watson Campaign Automation will move the files to the download directory of the user’s FTP space.

    Omitting the MOVE_TO_FTP parameter will move exported files to the user’s Export Files directory in Watson Campaign Automation.

    Example <soapenv:Envelope xmlns:soapenv=”http://schemas.xmlsoap.org/soap/envelope/”
    xmlns:ses=”SilverpopApi:EngageService.SessionHeader”
    xmlns:user=”SilverpopApi:EngageService.MailManagement.UserActions”>
    <soapenv:Header>
    <ses:sessionHeader>
    <ses:sessionid>06395F3FA6D07365CBA5D01AF14F3F56</ses:sessionid>
    </ses:sessionHeader>
    </soapenv:Header>
    <soapenv:Body>
    <user:ExportDCRuleset>
    <user:RULESET_ID>548403</user:RULESET_ID>
    <user:MOVE_TO_FTP/>
    </user:ExportDCRuleset>
    </soapenv:Body>
    </soapenv:Envelope>
       
    Response <RESULT>    
    Elements SUCCESS

    True” indicates successful Data Job submission.

    False” indicates an error occurred in which the error code displayed with a
    message reporting the issue.

     
      Job ID Contains the Data Job ID for the export.  
      File name Name of the resulting file containing the exported Ruleset.  
    Example <envelope:Envelope xmlns=”SilverpopApi:EngageService.MailManagement.UserActions”
    xmlns:envelope=”http://schemas.xmlsoap.org/soap/envelope/”>
    <envelope:Header/>
    <envelope:Body>
    <RESULT>
    <SUCCESS>TRUE</SUCCESS>
    <JOB_ID>503633</JOB_ID>
    </RESULT>
    </envelope:Body>
    </envelope:Envelope>
       

Join The Discussion

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