POST api/ITILSMS/SendMessageWebService

Request Information

URI Parameters

None.

Body Parameters

ITILSMSWhereDOM
NameDescriptionTypeAdditional information
LongCode

string

None.

Sender

string

None.

SendToEmpNo

string

None.

Mobile

string

None.

MsgInfo

string

None.

Account

string

None.

SmsServiceUrl

string

None.

StaffCode

string

None.

OprationStatus

integer

None.

WeChatServiceUrl

string

None.

WeChatSecret

string

None.

AppServiceUrl

string

None.

PageNum

integer

None.

NumPerPage

integer

None.

PageIndex

integer

None.

PageSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "LongCode": "sample string 1",
  "Sender": "sample string 2",
  "SendToEmpNo": "sample string 3",
  "Mobile": "sample string 4",
  "MsgInfo": "sample string 5",
  "Account": "sample string 6",
  "SmsServiceUrl": "sample string 7",
  "StaffCode": "sample string 8",
  "OprationStatus": 9,
  "WeChatServiceUrl": "sample string 10",
  "WeChatSecret": "sample string 11",
  "AppServiceUrl": "sample string 12",
  "PageNum": 1,
  "NumPerPage": 1,
  "PageIndex": 1,
  "PageSize": 1
}

application/xml, text/xml

Sample:
<ITILSMSWhereDOM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DOM">
  <NumPerPage>1</NumPerPage>
  <PageNum>1</PageNum>
  <Account>sample string 6</Account>
  <AppServiceUrl>sample string 12</AppServiceUrl>
  <LongCode>sample string 1</LongCode>
  <Mobile>sample string 4</Mobile>
  <MsgInfo>sample string 5</MsgInfo>
  <OprationStatus>9</OprationStatus>
  <SendToEmpNo>sample string 3</SendToEmpNo>
  <Sender>sample string 2</Sender>
  <SmsServiceUrl>sample string 7</SmsServiceUrl>
  <StaffCode>sample string 8</StaffCode>
  <WeChatSecret>sample string 11</WeChatSecret>
  <WeChatServiceUrl>sample string 10</WeChatServiceUrl>
</ITILSMSWhereDOM>

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

Response Information

Resource Description

StatusDTO
NameDescriptionTypeAdditional information
Status

状态

integer

None.

StatusMessage

消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "StatusMessage": "sample string 1"
}

application/xml, text/xml

Sample:
<StatusDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <Status>1</Status>
  <StatusMessage>sample string 1</StatusMessage>
</StatusDTO>