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.
See Authenticating requests
for information about how to authenticate the request.
Table 1. Atom API request details
|POST||User's My Activities feed||From the user's service document, the value of the href attribute of <collection> element that contains a <title> element which has a value of Overview.||activity|
Provide an activity entry type as the Atom entry document.
The content type of the Atom entry document must be application/atom+xml
Returned HTTP headers
HTTP/1.1 201 Created
Indicates that the activity was successfully created. If an error occurs, this header contains one of the error codes.Location: url
Link to edit_url of the new activity. You can use the web address specified here to subsequently update the activity.Error codes
Parent topic: Working with activities programmatically
- HTTP/1.1 400 Bad Request
- HTTP/1.1 403 Forbidden: Authorization failed.