Overview

Skill Level: Intermediate

Step-by-step

  1. Syntax of the request and response XML for ExportMailingTemplate

    The results are an .stl file (a zip file containing XML with a Watson Campaign Automation Template extension) which will be written to the FTP account associated with the current session. Optionally, you can copy the resulting file to Stored Files.

    Operation  <ExportMailingTemplate>     
    Elements TEMPLATE_ID  Numeric identifier for the mailing template to be exported.   
      ADD_TO_STORED_FILES  Optional  Use the ADD_TO_STORED_FILES parameter to write the output to the stored files folder within Watson Campaign Automation. Omitting the ADD_TO_STORED_FILES parameter will cause export files to be moved to the user’s FTP space, under the download directory.
    Example 
    <Envelope>
    <Body>
    <ExportMailingTemplate>
    <TEMPLATE_ID>59294</TEMPLATE_ID>
    <ADD_TO_STORED_FILES/>
    </ExportMailingTemplate>
    </Body>
    </Envelope>
       
    Response   <RESULT>    
    Elements SUCCESS TRUE if successful   
      FILE_PATH  Returns the file path and name of the export file.   
    Example 
    <Envelope>
    <Body>
    <RESULT>
    <SUCCESS>TRUE</SUCCESS>
    <FILE_PATH>/download/my_mailing_template.stl
    </FILE_PATH>
    </RESULT>
    </Body>
    </Envelope>
       

Join The Discussion

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