Get Dynamic Content Blocks by Field
This method retrieves a list of Dynamic Content Blocks that contain the same given value in a specific field.
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/getByField/{token}/{field}/{value}/{limit}
| Input parameters
Required parameters | Description | Output parameters | Description |
| ----------------------------------------------------------------------------- | ----------- | ----------------- | ----------- |
| token | The connection token | return | listIds - The list of Dynamic Content Block IDs |
| field | The field of the Dynamic Content Block:
- name
- description
- contentType
Required for:
- the name field
- the contentType field (0=TEXT, 1=HTML)
Optional for:
- the description field
Error messages
- You must fill in the token parameter
- You must fill in the field parameter.
- You must fill in the limit parameter.
- You must fill in the name parameter.
- You must fill in the contentType parameter.
- An error occured on the server
REST Example
Input
https://atmp-pub-api-www3.actito.com/apitransactional/services/rest/banner/getByField/{token}/name/Dyn/5
Output
<response responseStatus="success">
<entities>
<id>150</id>
<id>151</id>
<id>152</id>
</entities>
</response>