Skip to main content

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
DescriptionOutput parametersDescription
randomThe Unique Random Tag value provided for the Template in the ATMP interface.returnThe status of the send
encryptThe Security tag value provided for the Template in the ATMP interface.
emailThe email address to which you want to send the Transactional Message
senddateThe 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)
notificationIdThe ID of the Template
synchrotypeThe 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:
  • NOTHING
    Actito recommends using the value "NOTHING" for the synchrotype parameter.
  • INSERT
  • UPDATE
  • INSERT_UPDATE
Content Parameters
contentThe content parameter envelope to be used with push content personalization (i.e., the EMV CONTENT personalization tags in your template).
keyThe key stated in the Template in the [EMV CONTENT] tag.
valueThe value of the content key
Dynamic Personalization Parameters
dynThe personalization parameter envelope to be used with parameter personalization (i.e., the EMV DYN personalization tags in your template).
keyThe key stated in the Template in the [EMV DYN] tag.
valueThe 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&nbsp;</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>