Overview

Skill Level: Intermediate

Step-by-step

  1. Syntax of the request and response XML for GetMailingTemplates

    The templates returned may be limited by the date they were last modified.

    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. 
    ¬† IS_CRM_ENABLED Optional When set to ‚Äútrue‚ÄĚ, the API only provides a list of mailing templates that are enabled for use within a CRM package. This allows users to create mailing templates that are built specifically for sending email from within a CRM product.
    Example
    <Envelope>
    <Body>
    <GetMailingTemplates>
    <VISIBILITY>0</VISIBILITY>
    <IS_CRM_ENABLED>true</IS_CRM_ENABLED>
    <LAST_MODIFIED_START_DATE>01/01/2011 13:00:00</LAST_MODIFIED_START_DATE>
    <LAST_MODIFIED_END_DATE>01/31/2011 12:59:59</LAST_MODIFIED_END_DATE>
    </GetMailingTemplates>
    </Body>
    </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 

     

         

2 comments on"Get a List of Mailing Templates"

  1. This page is not visible due to formatting issues and needs to be fixed.

Join The Discussion

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