Overview

Skill Level: Intermediate

Step-by-step

  1. Syntax of the request and response XML for ExportDCRuleset

    Watson Campaign Automation places the file in the FTP or Stored Files directory based on the user’s choice (Stored Files is the default directory if user does not select a specific location).

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

    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
    <Envelope>
    <Body>
    <ExportDCRuleset>
    <RULESET_ID>12604</RULESET_ID>
    <MOVE_TO_FTP>TRUE</MOVE_TO_FTP>
    </ExportDCRuleset>
    </Body>
    </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>
    <Body>
    <RESULT>
    <SUCCESS>TRUE</SUCCESS>
    <JOB_ID>28217</JOB_ID>
    <FILE_NAME>download/RS1 -
    Feb 23 2011 11-17-09 AM.XML</FILE_NAME>
    </RESULT>
    </Body>
    </Envelope>
       

Join The Discussion

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