Overview

Skill Level: Any

Prerequisites

This interface extracts a list of Shared or Private mailing templates for your Organization. The templates returned may be limited by the date they were last modified.

Step-by-step

  1. Syntax of the request and response SOAP for GetMailingTemplates

    Operation <GetMailingTemplates>    
    Elements VISIBILITY Defines the visibility of the mailing templates to return.
    0 – Private
    1 – Shared
     
      LAST_MODIFIED_START_DATE Optional Start Date used to filter mailing templates by the date and time the
    mailing template was last modified.
      LAST_MODIFIED_END_DATE Optional End Date used to filter mailing templates by the date and time the
    mailing template was last modified.
    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:GetMailingTemplates>
    <user:VISIBILITY>0</user:VISIBILITY>
    <user:LAST_MODIFIED_START_DATE>05/01/2009
    13:00:00</user:LAST_MODIFIED_START_DATE>
    <user:LAST_MODIFIED_END_DATE>07/31/2009
    12:59:59</user:LAST_MODIFIED_END_DATE>
    </user:GetMailingTemplates>
    </soapenv:Body>
    </soapenv:Envelope>
       
    Response <RESULT>    
    Elements SUCCESS True if successful.  
      MAILING_TEMPLATE XML nodes defining the instances of each mailing template.  
      Child Element MAILING_ID Returns the ID of the mailing template.
        MAILING_NAME Returns the name of the mailing template.
        SUBJECT The subject line of the mailing template.
        LAST_MODIFIED Returns the date and time when the mailing template was
    last modified.
        VISIBILITY Returns the visibility of the mailing template (Shared or
    Private).
        USER_ID Returns the User ID for the mailing template owner.
    Example <envelope:Envelope xmlns=”SilverpopApi:EngageService.MailManagement.UserActions”
    xmlns:envelope=”http://schemas.xmlsoap.org/soap/envelope/”>
    <envelope:Header/>
    <envelope:Body>
    <RESULT>
    <SUCCESS>TRUE</SUCCESS>
    <MAILING_TEMPLATE>
    <MAILING_ID>939383</MAILING_ID>
    <MAILING_NAME>DLL Mailing 2</MAILING_NAME>
    <LAST_MODIFIED>05/12/09 08:15 AM</LAST_MODIFIED>
    <VISIBILITY>Private</VISIBILITY>
    <USER_ID>1efe4ac‐112532f31caf528764d624db129b32c21fbca0cb8d6</USER_ID>
    <FLAGGED_FOR_BACKUP>false</FLAGGED_FOR_BACKUP>
    </MAILING_TEMPLATE>
    <MAILING_TEMPLATE>
    <MAILING_ID>1866584</MAILING_ID>
    <MAILING_NAME>test rt again</MAILING_NAME>
    <LAST_MODIFIED>05/21/09 01:16 PM</LAST_MODIFIED>
    <VISIBILITY>Private</VISIBILITY>
    <USER_ID>1efe4ac‐112532f31caf528764d624db129b32c21fbca0cb8d6</
    USER_ID>
    <FLAGGED_FOR_BACKUP>false</FLAGGED_FOR_BACKUP>
    </MAILING_TEMPLATE>
    <MAILING_TEMPLATE>
    <MAILING_ID>2605309</MAILING_ID>
    <MAILING_NAME>Test Ampersand Issue</MAILING_NAME>
    <LAST_MODIFIED>07/10/09 03:23 PM</LAST_MODIFIED>
    <VISIBILITY>Private</VISIBILITY>
    <USER_ID>1efe4ac‐112532f31caf528764d624db129b32c21fbca0cb8d6</
    USER_ID>
    <FLAGGED_FOR_BACKUP>false</FLAGGED_FOR_BACKUP>
    </MAILING_TEMPLATE>
    </RESULT>
    </envelope:Body>
    </envelope:Envelope>
       

Join The Discussion

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