Send a Transactional Message Request (XML)
This method allows you to send a Transactional Message to multiple email addresses.
This is a POST method.
REST URL
https://atmp-pub-api-www3.actito.com/NMSXML
Input parameters Required parameters | Description | Output parameters | Description |
---|---|---|---|
random | The Unique Random Tag value provided for the Template in the ATMP interface. | return | The status of the send |
encrypt | The Security tag value provided for the Template in the ATMP interface. | ||
The email address to which you want to send the Transactional Message | |||
senddate | The time you wish to send the Transactional Message. If you put a time in the past, it will be sent immediately. (For more information on date formats, see Parameter List) | ||
notificationId | The ID of the Template | ||
synchrotype | The synchrotype parameter is deprecated and relates to a feature that is no longer supported. Nevertheless, the synchrotype parameter must be declared in the call. Actito recommends that you use "NOTHING" for the synchrotype value, but any of the following values can be used to get the same result:
| ||
Content Parameters | |||
content | The content parameter envelope to be used with push content personalization (i.e., the EMV CONTENT personalization tags in your template). | ||
key | The key stated in the Template in the [EMV CONTENT] tag. | ||
value | The value of the content key | ||
Dynamic Personalization Parameters | |||
dyn | The personalization parameter envelope to be used with parameter personalization (i.e., the EMV DYN personalization tags in your template). | ||
key | The key stated in the Template in the [EMV DYN] tag. | ||
value | The value of the dyn key |
Error messages
- You must fill in the id parameter.
- You must fill in the random parameter
- You must fill in the encrypt parameter
- You must fill in the email parameter
- You must fill in the senddate parameter
- You must fill in the stype parameter
- The email address 0 is malformed!!
- Error while parsing dyn parameter: 0.
- Error while parsing sendDate parameter: 0.
- Error while parsing encrypt parameter: 0
- Query random: 0 doesn't match with notification random: 1 !!!
- You don't have enough rights to use this service
- The status not exist
- The senddate doesn't exist or is malformed !
- Job done or the sendRequest not exist
- Unable to retrieve the notification
- Unable to retrieve the client for this notification
- Bad authentication!!! Random parameter is wrong 0
- Wrong encrypt parameter!
- An error occured on the server
Input
<?xml version="1.0" encoding="UTF-8"?>
<MultiSendRequest>
<sendrequest>
<dyn>
<entry>
<key>firstname</key>
<value>john</value>
</entry>
<entry>
<key>lastname</key>
<value>blum</value>
</entry>
<entry>
<key>email</key>
<value>jblum@flowerpowershop.biz</value>
</entry>
</dyn>
<content>
<entry>
<key>1</key>
<value>
<![CDATA[
<table width="600">
<tr>
<td>
<font size="2" face="Arial">Our powerful algorithms already found a matching profile that matches your criteria:
<br>Celina72 </font>
<img src="http://mypath/to/my/image.gif" width="50" height="50" border="0" />
</td>]]>
</value>
</entry>
<entry>
<key>2</key>
<value>Our powerful algorithms already found a matching profile that matches your criteria: Celina72</value>
</entry>
</content>
<email>jblum@flowerpowershop.biz</email>
<encrypt>BdX7CqkmjTHtxWEKB5QK6MzXKkx6HK3E8guM</encrypt>
<notificationId>1762421</notificationId>
<random>4A776E3602000078</random>
<senddate>2020-12-12T00:00:00</senddate>
<synchrotype>NOTHING</synchrotype>
</sendrequest>
</MultiSendRequest>