POST api/article/comment

Request Information

URI Parameters

None.

Body Parameters

commentDto
NameDescriptionTypeAdditional information
id

integer

None.

comment

string

None.

mespid

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "comment": "sample string 2",
  "mespid": "sample string 3"
}

application/xml, text/xml

Sample:
<commentDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Wu.Entity.dto">
  <comment>sample string 2</comment>
  <id>1</id>
  <mespid>sample string 3</mespid>
</commentDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultEntity
NameDescriptionTypeAdditional information
code

integer

None.

data

Object

None.

msg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "data": {},
  "msg": "sample string 3"
}

application/xml, text/xml

Sample:
<ResultEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Wu.API">
  <code>1</code>
  <data />
  <msg>sample string 3</msg>
</ResultEntity>