Get Dynamic Content Blocks by Period
This method retrieves a list of Dynamic Content Blocks from a given period.
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/getByPeriod/{token}/{dateBegin}/{dateEnd}
| Input parameters
Required parameters | Description | Output parameters | Description |
| ----------------------------------------------------------------------------- | ----------- | ----------------- | ----------- |
| token | The connection token | return | listIds - The list of Dynamic Content Block IDs |
| dateBegin | TThe start date of the period to retrieve (yyyy-MM-dd HH:mm:ss) | | |
| dateEnd | The end date of the period to retrieve (yyyy-MM-dd HH:mm:ss) | | |
Error messages
- You must fill in the token parameter
- You must fill in the dateBegin parameter.
- You must fill in the dateEnd parameter.
- dateBegin doesn't exist or is malformed (good format is : yyyy-MM-dd HH:mm:ss).
- dateEnd doesn't exist or is malformed (good format is : yyyy-MM-dd HH:mm:ss).
- An error occured on the server
REST Example
Input
https://atmp-pub-api-www3.actito.com/apitransactional/services/rest/banner/getByPeriod/{token}/2011-01-01%2000:00:00+02:00/2013-01-01%2000:00:00+02:00
Output
<response responseStatus="success">
<entities>
<id>150</id>
<id>151</id>
<id>152</id>
</entities>
</response>