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 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.
See Authenticating requests
for information about how to authenticate the request.
Table 1. Atom API request details
|PUT||activity||Value of the href attribute of <link> that has a rel="edit" attribute value for an activity in the user's overview feed.||activity|
Provide an activity entry Atom entry document. The content type of the Atom entry document must be application/atom+xml.
Returned HTTP headers
HTTP/1.1 200 OK
Indicates that the activity was successfully updated.Error codes
Parent topic: Working with activities programmatically
- HTTP/1.1 403 Forbidden – Error 403: Authorization Failed
- HTTP/1.1 404 Not Found