Returns a list of comments based on the parameters specified in the url. Valid for Communifire version 5.2 and above.
Example URL to GET: http://your-community.com/api/comments?entityid=2317&startpage=1&pagelength=100
Here is an example of JSON data returned from the API call. Note that some properties are removed from this sample to make it shorter.
{ "IsError":false, "ResponseMessage":"", "ResponseData": [ { "CommentText":"All of that paperwork should be in the Files section of the Human Resources space.", "CommentTextUnprocessed":"All of that paperwork should be in the Files section of the Human Resources space.", "CommentTitle":null, "CommentID":584, "ParentCommentID":0, "EntityType":0, "CommentEntityType":0, "EntityID":2317, "RatingID":null, "CommentRating":0.0, "UserEmail":"acme@acme.com", "UserMediaServerRootURL":null, "ParentEntityAuthorID":0, "UserID":1, "CommentStatus":1, "UserWebsite":"", "UserIPAddress":"::1", "UserName":"jhon", "UserFirstName":null, "UserLastName":null, "UserAvatarFileName":null, "DateCommented":"2016-02-03T08:18:06.21", "DateCommentedText":"3 seconds ago", "DateTimeISO":"2016-02-03T13:48:06.2100000", "DateTimeFull":"Wednesday, February 3, 2016 at 01:48", "UserAvatarVirtualPath":"http://your-community.com/Assets/Uploaded-Photos/884af119-4937-4b33-a795-826cda3d19a3.png", "UserProfileURL":"http://your-community.com/people/jhon", "UserDisplayName":"Jhon Smith", "CaptchaCode":null, "IsInternal":false, "CanUserDeleteComment":true, "CurrentWorkFlowStepID":0, "WorkFlowID":0, "CanUserChangeCommentStatus":false, "SpaceID":0, "NestedComments":[], "CommentTextHtmlFormatted":"All of that paperwork should be in the Files section of the Human Resources space.", "CommentTextFormatted":"All of that paperwork should be in the Files section of the Human Resources space." }, { "CommentText":"Yeah I can't find it anywhere.", "CommentTextUnprocessed":"Yeah I can't find it anywhere.", "CommentTitle":null, "CommentID":583, "ParentCommentID":0, "EntityType":0, "CommentEntityType":0, "EntityID":2317, "RatingID":null, "CommentRating":0.0, "UserEmail":"acme@acme.com", "UserMediaServerRootURL":null, "ParentEntityAuthorID":0, "UserID":1, "CommentStatus":1, "UserWebsite":"", "UserIPAddress":"::1", "UserName":"jhon", "UserFirstName":null, "UserLastName":null, "UserAvatarFileName":null, "DateCommented":"2016-02-03T08:18:04.357", "DateCommentedText":"5 seconds ago", "DateTimeISO":"2016-02-03T13:48:04.3570000", "DateTimeFull":"Wednesday, February 3, 2016 at 01:48", "UserAvatarVirtualPath":"http://your-community.com/Assets/Uploaded-Photos/884af119-4937-4b33-a795-826cda3d19a3.png\", "UserProfileURL":"http://your-community.com/people/jhon", "UserDisplayName":"Jhon Smith", "CaptchaCode":null, "IsInternal":false, "CanUserDeleteComment":true, "CurrentWorkFlowStepID":0, "WorkFlowID":0, "CanUserChangeCommentStatus":false, "SpaceID":0, "NestedComments":[], "CommentTextHtmlFormatted":"Yeah I can't find it anywhere.", "CommentTextFormatted":"Yeah I can't find it anywhere." } ] }
Please Note Your content type that you pass in the header of your request should be 'application/json'.
is requesting access to a wiki that you have locked: https://my.axerosolutions.com/spaces/5/communifire-documentation/wiki/view/4850/rest-api-get-comment-list?locale=en-US%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253fact%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253d1%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253fSpaceID%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253d5
Your session has expired. You are being logged out.