Track Template Link by Position
This method activates link tracking for a link in a specific position in a Template.
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/trackLinkByPosition/{token}/{id}/{position}/{part}
| Input parameters
Required parameters | Description | Output parameters | Description |
| ----------------------------------------------------------------------------- | ----------- | ----------------- | ----------- |
| token | The connection token | return | The order number of the tracked URL |
| id | The ID of the Template | | |
| position | The position of the link in the Template (from top to bottom) | | |
| part | The part of the Template (HTML or TEXT) | | |
Error messages
- You must fill in the token parameter
- You must fill in the id parameter.
- You must fill in the position parameter.
- You must fill in the part parameter.
- No template found !!
- There is no any link.
- TEXT part doesn't exist or is malformed.
- HTML part doesn't exist or is malformed.
- The part parameter is not the same as HTML or TEXT.
- An error occured on the server
REST Example
Input
https://atmp-pub-api-www3.actito.com/apitransactional/services/rest/template/trackLinkByPosition/{token}/176/1/HTML
Output
<response responseStatus="success">
<result xsi:type="xs:long">1</result>
</response>