Skip to main content

Update Template Link by Field

This method updates a Template 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/templateUrl/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 | | id | The ID of the Template | | | | order | The order number of the URL | | | | field | The field to update

  • 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 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/templateUrl/updateByField/{token}/176/1/name/NewName

Output

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