Skip to main content

Update Dynamic Content Block

This method updates a Dynamic Content Block by field and value.

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/update/{token}/{id}/{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 | | id | The ID of the Dynamic Content Block | | | | field | The field of the Dynamic Content Block:

  • name
  • description
  • contentType
| | | | value | The value of the field

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 field parameter.
  • The field parameter doesn't exist.
  • You must fill in the name parameter.
  • You must fill in the contentType parameter.
  • You can't retrieve this type of banner.
  • No banner found !!
  • An error occured on the server

REST Example

Input

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

Output

<response responseStatus="success">
<result xsi:type="xs:boolean">true</result>
</response>