POST api/v1/topiccommentv1/AddComment

Request Information

URI Parameters

None.

Body Parameters

AddTopicCommentParamDto
NameDescriptionTypeAdditional information
TopicId

integer

None.

Comments

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TopicId": 1,
  "Comments": "sample string 2"
}

application/xml, text/xml

Sample:
<AddTopicCommentParamDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DDO.AppApi.Models.v1.Params.Odd">
  <Comments>sample string 2</Comments>
  <TopicId>1</TopicId>
</AddTopicCommentParamDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json

Sample:

Sample not available.

application/xml

Sample:
<boolean>true</boolean>

text/json

Sample:
true

text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>