Updating entry templates
Added by IBM contributorIBM | Edited by Claudia R Elbourn on June 15, 2015
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

To update an entry template, send a replacement Atom document containing the modified entry template to the edit link for the existing entry template.
All existing entry template information will be replaced with the new data. To avoid deleting existing data, retrieve any data that you want to retain first, and send it back with this request. See Retrieving entry templates for more information.

Perform one of the following actions:

  • If you want to update the entry template only (and not the icon associated with it), provide a revised entry template Atom document.
  • If you want to update both the entry template and icon, send a multipart put request that includes a revised entry template Atom document and the new or changed icon graphic file.
  • If you want to change only the icon associated with the entry template, send a multipart put request that includes the same version of the entry template Atom document and the new or changed icon graphic file.
If you change the icon associated with the entry template, all of the existing entries that were created using the template are updated to display the new icon.
Input
Method URI Description
PUT /activities/service/atom2/activitynode Value of the href attribute of the <link> element that has a rel="edit" attribute in the entry template Atom document.
Name Type Optional Description
activityNodeUuid
string No The UUID of the activity node.
Output
Code Description
200
OK. Indicates that the entry template was successfully updated.
403
Forbidden. Authorization failed.
404
Not Found.