To create an activity, send an Atom entry document containing the new activity to the user's My Activities feed.
Table 1. Atom API request details
|HTTP Method||Sample URL|
You can derive the URL from the user's service document. Find the value of the href attribute of <collection> element that contains a <title> element which has a value of Overview.
The content type of the Atom entry document must be application/atom+xml
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.400
Request was not recognized.403
Authorization failed.Parent topic: Working with activities programmatically