When using this API in an IBM SmartCloud
™ for Social Business environment, note that certain differences might exist. For more information, see Activities API
in the IBM Social Business Development wiki.
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.
See Authenticating requests
for information about how to authenticate the request.
Table 1. Atom API request details
|PUT||entry template||Value of the href attribute of the <link> element that has a rel="edit" attribute in the entry template Atom document.||entry template|
|PUT||entry template and icon graphic file ||Value of the href attribute of the <link> element that has a rel="edit" attribute in the entry template Atom document.||entry template and icon graphic file as a multipart put request|
Perform one of the following action:
- 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.
Returned HTTP headers
HTTP/1.1 200 OK
Indicates that the entry template was successfully updated.Error codes
Parent topic: Working with entry templates programmatically
Entry template content
- HTTP/1.1 403 Forbidden: Authorization failed.
- HTTP/1.1 404 Not Found