Updating activities
Added by IBM contributorIBM | Edited by Claudia R Elbourn on July 7, 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, send a replacement Atom Entry document containing the modified activity to the existing activity's edit URI.
All existing activity information will be replaced with the new data. To avoid deleting all existing data, retrieve any data you want to retain first, and send it back with this request. For example, if you want to add a new tag to an activity, retrieve the existing tags and other data, and send it all back with the new tag in the update request. See Retrieving activities for more information.
Input
Method URI Description
PUT /activities/service/atom2/activitynode Value of the href attribute of <link> that has a rel="edit" attribute value for an activity in the user's overview feed.
Content Type: application/atom+xml
Name Type Optional Description
activityNodeUuid
string No The UUID of the activity node.
Output
Code Description
200
OK. Indicates that the activity was successfully updated.
403
Forbidden. Authorization Failed
404
Not Found.
401
Unauthorized. Returned when no authenticated user or no userid, email, or key parameter are provided on the request.