POST api/UserLetter/Insert

增加私信信息

Request Information

URI Parameters

None.

Body Parameters

UserLetterSendInput
NameDescriptionTypeAdditional information
Content

消息内容

string

None.

UserNumb

对话网校号

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Content": "sample string 1",
  "UserNumb": "sample string 2"
}

application/xml, text/xml

Sample:
<UserLetterController.UserLetterSendInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_30edu.WEBAPI.WX.API.Letter">
  <Content>sample string 1</Content>
  <UserNumb>sample string 2</UserNumb>
</UserLetterController.UserLetterSendInput>

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 'UserLetterSendInput'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.