addComment


Adds a comment to a discussion.

Parameters

Name Description
nodeID required Node of content we are working with.
discussionID optional Id of discussion (topic_id) to work with.
ecPartnerID optional ID of partner for ext_content.
ecXrefID optional ID of content for ext_content.
ecType optional Type of content for ext_content.
userID required User we are working with.
content required Content of comment.
userIP required IP address of user we are working with.
dateCreated optional Date on which the content was created.
premoderateContent optional Overrides the default network settings to premoderate or not.
parentID optional ID of parent comment.
output optional The response output format. Accepts JSON and XML.

Request Syntax

https://services.onesite.com/rest/ugcDiscussion?action=addComment&nodeID=188234&ecPartnerID=335&ecXrefID=12345678&ecType=web&content=TEST&userID=229928503&userIP=127.0.0.1&devkey=[devkey]

JSON Response