POST api/User/MobileSendMessage

根据手机号发送短信

Request Information

URI Parameters

None.

Body Parameters

MobileSendMessageInput
NameDescriptionTypeAdditional information
Mobile

手机号

string

None.

MessageContent

短信内容

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Mobile": "sample string 1",
  "MessageContent": "sample string 2"
}

application/xml, text/xml

Sample:
<MobileSendMessageInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_30edu.WEBAPI.WX.Models">
  <MessageContent>sample string 2</MessageContent>
  <Mobile>sample string 1</Mobile>
</MobileSendMessageInput>

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

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.