Skip to main content

Get Last Template

This method retrieves the most recently created Transactional Messaging Templates.

This is a GET method.

REST WADL

https://atmp-pub-api-www3.actito.com/apitransactional/services/rest?_wadl&_type=xml

REST URL

https://atmp-pub-api-www3.actito.com/apitransactional/services/rest/template/getLastTemplates/{token}/{type}/{limit}

| Input parameters
Required parameters | Description | Output parameters | Description | | ----------------------------------------------------------------------------- | ----------- | ----------------- | ----------- | | token | The connection token | return | The Template object | | type | The type of Template:

  • TRANSACTIONAL
  • SOCIALNETWORK (this value is deprecated)
| | | | limit | The maximum number of Templates to retrieve | | |

Error messages

  • (missing or bad snippet)
  • (missing or bad snippet)
  • (missing or bad snippet)
  • (missing or bad snippet)

REST Example

Input

https://atmp-pub-api-www3.actito.com/apitransactional/services/rest/template/getLastTemplates/{token}/TRANSACTIONAL/5

Output

<response responseStatus="success">
<entities>
<id>178</id>
<id>176</id>
</entities>
</response>