sendObjectsWithFullStatus
This method allows you to send a Transactional Message to multiple email addresses with a detailed status response.
WSDL location:
https://atmp-pub-api-www3.actito.com/NMSOAP/NotificationService?wsdl
Method Request:
POST https://atmp-pub-api-www3.actito.com/NMSOAP/NotificationService
Input parameters Required parameters | Description | Output parameters | Description |
---|---|---|---|
random | The email address to which you want to send the Transactional Message. | return | The status of the send |
encrypt | The encrypt value provided in the interface. | ||
notificationId | The ID of the Template. | ||
random | The random value provided for the Template. | ||
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) | ||
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
SOAP Example
Input
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:api="http://api.service.nsapi.emailvision.com/">
<soapenv:Header/>
<soapenv:Body>
<api:sendObjectsWithFullStatus>
<arg0>
<sendrequest>
<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>
</content>
<dyn>
<entry>
<key>FIRSTNAME</key>
<value>john</value>
</entry>
</dyn>
<email>johnblum@flowerpower.com</email>
<encrypt>BdX7CqkmjSivyBgIcZoN4sPVLkx7FaXGiwsO</encrypt>
<notificationId>6464</notificationId>
<random>985A8B992601985A</random>
<senddate>2020-12-12T00:00:00</senddate>
<synchrotype>NOTHING</synchrotype>
</sendrequest>
<sendrequest>
<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>
</content>
<dyn>
<entry>
<key>FIRSTNAME</key>
<value>john</value>
</entry>
</dyn>
<email>johnsmith@example.com</email>
<encrypt>BdX7CqkmjSivyBgIcZoN4sPVLkx7FaXGiwsO</encrypt>
<notificationId>6464</notificationId>
<random>985A8B992601985A</random>
<sendDate>2020-12-12T00:00:00</sendDate>
<synchrotype>NOTHING</synchrotype>
</sendrequest>
</arg0>
</api:sendObjectsWithFullStatus>
</soapenv:Body>
</soapenv:Envelope>
Output
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns2:sendObjectsWithFullStatusResponse xmlns:ns2="http://api.service.nsapi.emailvision.com/">
<return>
<element responseStatus="success" email="johnblum@flowerpower.com">
<result xsi:type="ns4:string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns4="http://www.w3.org/2001/XMLSchema">SendRequest has been successfully saved</result>
</element>
<element responseStatus="success" email="pishty@smartfocus.com">
<result xsi:type="ns4:string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns4="http://www.w3.org/2001/XMLSchema">SendRequest has been successfully saved</result>
</element>
</return>
</ns2:sendObjectsWithFullStatusResponse>
</soap:Body>
</soap:Envelope>