Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

Table of Contents

 

Overview

MailUpService API allows to create and delete activity filters

FiltersCreateActivityFilter

This method creates a new filter to be applied on recipient's personal data

Method parameters

ParameterDescriptionExample
Id  
IdListSpecify here MailUp list ID (or 'NULL', if filter is applicable to all lists) 
NameNumber that identifies console ID 
Description  
Category  
Conditions[ ]

Array of conditions (at list one). Each condition is composed of the following fields:

  • Id
  • IdFilter
  • LogicalOperation (allowed values: AND, OR)
  • Type
  • IdMessage
  • Link
  • FromDate
  • ToDate
 

SOAP Examples

Code Block
languagehtml/xml
titleSOAP request
coming soon
Code Block
languagehtml/xml
titleSOAP response
coming soon

 

FiltersDeleteActivityFilter

Method parameters

ParameterDescriptionExample
Token Access token, used for authentication 
IdFilterID of a previously created filter 

SOAP Example

Code Block
languagehtml/xml
titleSOAP request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ifil="http://Mailup.WS/IFilterService">
	<soapenv:Header/>
	<soapenv:Body>
	<ifil:FiltersDeleteActivityFilter>
		<ifil:request>
			<ifil:AccessToken>h7FvEjVPdh3Mx0hfRXgpVYO5Rb0m/so+LpSrAi7NMCoAXrLfZJf1iO9HsqY9XjfwNVbvU0kD=</ifil:AccessToken>
			<ifil:IdFilter>58</ifil:IdFilter>
		</ifil:request>
	</ifil:FiltersDeleteActivityFilter>
	</soapenv:Body>
</soapenv:Envelope>
Code Block
languagehtml/xml
titleSOAP response
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <FiltersDeleteActivityFilterResponse xmlns="http://Mailup.WS/IFilterService">
         <FiltersDeleteActivityFilterResult/>
      </FiltersDeleteActivityFilterResponse>
   </s:Body>
</s:Envelope>