Updating activity nodes
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 activity entry, send a replacement Atom entry document containing the modified activity node to the existing activity's edit web address.
All existing activity entry 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 activity nodes for more information.

To create an entry that includes a bookmark or file, post an entry node of type entry and include a field of the appropriate type, link or file respectively, in that entry.
Method URI Description
PUT /activities/service/atom2/activitynode Value of the href attribute of the <link> element that has a rel="edit" attribute for the associated node in the activity node list. Provide a revised activity node type Atom entry document.
Content Type: application/atom+xml
Name Type Optional Description
string No The UUID of the activity node
Code Description
OK. Indicates that the activity node was successfully updated.
Forbidden. Authorization failed.
Not Found.
Unauthorized. Returned when no authenticated user or no userid, email, or key parameter are provided on the request.