Update Dynamic Content Block Link by Field
This method updates a Dynamic Content Block link by 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/bannerUrl/updateByField/{token}/{bannerId}/{order}/{field}/{value}
| Input parameters
Required parameters | Description | Output parameters | Description |
| ----------------------------------------------------------------------------- | ----------- | ----------------- | ----------- |
| token | The connection token | return | true if it was successful, false if it was not successful |
| bannerId | The ID of the Dynamic Content Block | | |
| order | The order number of the URL | | |
| 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 id parameter.
- You must fill in the order parameter.
- You must fill in the field parameter.
- This link doesn't exist for the banner.
- You must fill in the name parameter.
- You must fill in the url parameter.
- You must fill in the parameters field.
- You must fill in the action field.
- Banner link type not supported.
- An error occured on the server
REST Example
Input
https://atmp-pub-api-www3.actito.com/apitransactional/services/rest/bannerUrl/updateByField/{token}/150/1/name/NewName
Output
<response responseStatus="success">
<result xsi:type="xs:boolean">true</result>
</response>