Add Comment

Description

Adds a comment to an item (POST only). Available only to authenticated users who have access to the item.

Request Parameters

Parameter

Details

[Common Parameters]

For a complete listing, see Common parameters.

comment

Add comment text to item.

Response Properties

Property

Details

success

Set to true if the comment was posted successfully.

commentId

The ID of the comment submitted.

Example Usage

URL for Add Comment

http://www.arcgis.com/sharing/rest/content/items/a50b5179b49a4256a248c7b5ffb82dd7/addComment
Comment= This map is very accurate.  I was able to find the right bike route to my destination.

JSON Response Syntax

{
  "success": true | false,
  "commentId": "<comment id>"
}

JSON Response Example

{
  "success": true,
  "commentId": "722286f355424f5bb87f95464d216bac"
}

7/5/2017