Create activities 

To create an activity, send an Atom entry document containing the new activity to the user's My Activities feed.

See Authenticating requests for information about how to authenticate the request.

Table 1. Atom API request details

Method Resource URI Input representation
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


Input

Provide an activity entry type as the Atom entry document.

Note: The content type of the Atom entry document must be application/atom+xml.


Output

None.

Returned HTTP headers

HTTP/1.1 201 Created

Location: url

Error codes


Parent topic

Work with activities programmatically

Related reference
Activity content


   

 

});