Comments API

Comments API - Add Comment

OVERVIEW

 

Add comment API

POST : /api/4/comments?contentid={contentid}&contenttype={contenttype}

 

contentid number

This the content id of the required content. e.g

blogid for contenttype=blog, taskid for contenttype=tasks

contenttype String

/api/1/comments?contenttype=files

    Microblogs
    Files
    Wiki
    Blog
    Tasks
    Events

Request body

Send a  Comments list object - Add / Edit comment 

Response

The methods returns a 200 http response in case of a successful request otherwise an error object is returned. 

<comment>
     <id>{comment's id}</id>
</comment>

 

Comments


0 Comments

Last Updated: Nov 08,2024