POST api/Live/sendPrivateMsg

普通观众发送消息

Request Information

URI Parameters

None.

Body Parameters

postCommentModel
NameDescriptionTypeAdditional information
userid

integer

None.

parentUserId

回复对像的userid

integer

None.

dataId

integer

None.

parentId

integer

None.

code

integer

None.

type

string

None.

content

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userid": 1,
  "parentUserId": 2,
  "dataId": 3,
  "parentId": 4,
  "code": 5,
  "type": "sample string 6",
  "content": "sample string 7"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'postCommentModel'.

Response Information

Resource Description

普通观众发送消息

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.