Overview

Skill Level: Any

Prerequisites

This interface deletes the specified Ruleset from the Asset Library. You can only delete Rulesets that are not associated with a mailing. If you attempt to delete a mailing’s Ruleset, you will receive an error indicating the reason for failure (the Ruleset is currently associated with a mailing). If the desired result is to delete the Ruleset in order to update its content, utilize the ReplaceDCRuleset operation.

Step-by-step

  1. Syntax of the request and response SOAP for DeleteDCRuleset

    Operation <DeleteDCRuleset>  
    Elements RULESET_ID The ID of the Ruleset to delete.
    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:DeleteDCRuleset>
    <user:RULESET_ID>9923621</user:RULESET_ID>
    </user:DeleteDCRuleset>
    </soapenv:Body>
    </soapenv:Envelope>
     
    Response <RESULT>  
    Elements SUCCESS

    True” indicates successful Ruleset deletion.

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

    Example <envelope:Envelope xmlns=”SilverpopApi:EngageService.MailManagement.UserActions”
    xmlns:envelope=”http://schemas.xmlsoap.org/soap/envelope/”>
    <envelope:Header/>
    <envelope:Body>
    <RESULT>
    <SUCCESS>TRUE</SUCCESS>
    </RESULT>
    </envelope:Body>
    </envelope:Envelope>
     

Join The Discussion

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