Overview

Skill Level: Any

Prerequisites

This interface returns a list of available DC Rulesets for the specified mailing.

Step-by-step

  1. Syntax of the request and response SOAP for ListDCRulesetsForMailing

    Operation <ListDCRulesetsForMailing>    
    Elements MAILING_ID The ID of the mailing whose Rulesets are being retrieved. This may be the ID of a mailing template or a sent mailing, in addition to an Autoresponder or Automated Message.  
    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:ListDCRulesetsForMailing>
    <user:MAILING_ID>1866986</user:MAILING_ID>
    </user:ListDCRulesetsForMailing>
    </soapenv:Body>
    </soapenv:Envelope>
       
    Response <RESULT>    
    Elements SUCCESS

    True” indicates successful listing call.

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

     
    Child
    Element
    RULESET    
      Child Element RULESET_ID The ID of the associated Ruleset.
        LIST_ID The ID of the associated Database.
        RULESET_NAME The name of the associated 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>
    <RULESET>
    <RULESET_ID>548605</RULESET_ID>
    <LIST_ID>24872</LIST_ID>
    <RULESET_NAME>Locale Body Ruleset</RULESET_NAME>
    </RULESET>
    <RULESET>
    <RULESET_ID>550802</RULESET_ID>
    <LIST_ID>24872</LIST_ID>
    <RULESET_NAME>Locale Body Ruleset ‐ Import</RULESET_NAME>
    </RULESET>
    <RULESET>
    <RULESET_ID>551402</RULESET_ID>
    <LIST_ID>24872</LIST_ID>
    <RULESET_NAME>Locale Body Ruleset new</RULESET_NAME>
    </RULESET>
    <RULESET>
    <RULESET_ID>552402</RULESET_ID>
    <LIST_ID>24872</LIST_ID>
    <RULESET_NAME>Locale Body Ruleset new 2</RULESET_NAME>
    </RULESET>
    </RESULT>
    </envelope:Body>
    </envelope:Envelope>
       

Join The Discussion

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