Skip to main content

Get Dynamic Content Block

This method retrieves a Dynamic Content Block using its ID.

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/banner/get/{token}/{id}

| Input parameters
Required parameters | Description | Output parameters | Description | | ----------------------------------------------------------------------------- | ----------- | ----------------- | ----------- | | token | The connection token | return | APIBanner - The Dynamic Content Block | | id | The ID of the Dynamic Content Block | | |

Error messages

  • You must fill in the token parameter
  • You must fill in the id parameter.
  • No banner found !!
  • You can't retrieve this type of banner.
  • An error occured on the server

REST Example

Input

https://atmp-pub-api-www3.actito.com/apitransactional/services/rest/banner/get/{token}/150

Output

<response responseStatus="success">
<apiBanner>
<content>
<table align="center" bgcolor="white" width="625" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="15" rowspan="3">
</td>
<td width="395" rowspan="3" align="center" valign="middle">
<a href="">
<img src="http://webr.emv2.com/demo_milano/120412_acme/highheel_2.jpg" height="173" width="161" border="none" alt="Poste Midnight Lace"/>
</a>
<img src="http://webr.emv2.com/demo_milano/120412_acme/flats_2.jpg" height="173" width="161" border="none" alt="Poste Midnight Lace"/>
</td>
<td width="15" rowspan="3">
</td>
<td height="246" valign="middle">
<span style="font-size: 9pt; font-family: Helvetica, Arial,sans-serif; color: rgb(0, 0, 0); font-weight: 200;">http://www.smarfocus.com A welcome addition to the Poste range, the Midnight lace carries on the tradition of classic styling with a subtle twist.
<br>
<br>
<br>
</span>
</td>
<td width="15" rowspan="3">
</td>
</tr>
<tr>
<td valign="bottom" align="right" height="18" bgcolor="#860038">
<span style="font-size: 10pt; font-family: Helvetica, Arial,sans-serif; text-align: right; ; valign: bottom; color: black; font-weight: 200;" >
<a href="" style="text-decoration:none; font-weight: bold; color: white; text-align:right; padding-right:5px;">
<strong>SHOP ALL GIRLS SHOES</strong>
</a>
</span>
</td>
</tr>
</table>
</content>
<contentType>HTML</contentType>
<description>Description</description>
<id>150</id>
<name>Name</name>
</apiBanner>
</response>