Creating community event comments
Added by IBM contributorIBM | Edited by Claudia R Elbourn on June 15, 2015
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

To post a comment on community event instance, send a comment Atom entry document to the web address specified in href attribute of the Event Comments <collection> element, of the event instance in the event instances feed.
Tags: commapi

To post a comment on community event instance, send a comment Atom entry document to the web address specified in href attribute of the Event Comments element, of the event instance in the event instances feed. See "Retrieving event instances from a given community" and "Retrieving event instances that belong to a given event" for more information.

Input
Method URI Description
POST /communities/calendar/atom/calendar/event/comment Value of href attribute of the <collection title="Event Comments"> element of each entry in the community event instances feed.
Content Type: application/atom+xml
Sample Request:
<?xml version="1.0" encoding="UTF-8"?>

<entry 

 xmlns="http://www.w3.org/2005/Atom" 

 xmlns:app="http://www.w3.org/2007/app" 

 xmlns:snx="http://www.ibm.com/xmlns/prod/sn">

<category term="comment" scheme="http://www.ibm.com/xmlns/prod/sn/type"/>

<content type="text">Test comment</content>
</entry>
Name Type Optional Description
eventInstUuid
string No Event Instance ID
Output
Content Type: application/atom+xml
Code Description
201
Indicates that the community event comment was successfully created. If an error occurs, this header contains one of the error codes.
400
Bad Request.
401
Unauthorized.
403
Forbidden.
404
Not Found.