POST api/ITILSMS/EditITILSMSSubmit

Request Information

URI Parameters

None.

Body Parameters

ITILSMSDTO
NameDescriptionTypeAdditional information
ID

integer

None.

MsgPK

string

String length: inclusive between 0 and 100

Sender

string

String length: inclusive between 0 and 100

SendToEmpNo

string

String length: inclusive between 0 and 100

Tel

string

String length: inclusive between 0 and 50

MsgInfo

string

String length: inclusive between 0 and 500

SendState

string

String length: inclusive between 0 and 50

SendDt

date

None.

SendIP

string

String length: inclusive between 0 and 50

IsDebug

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "MsgPK": "sample string 2",
  "Sender": "sample string 3",
  "SendToEmpNo": "sample string 4",
  "Tel": "sample string 5",
  "MsgInfo": "sample string 6",
  "SendState": "sample string 7",
  "SendDt": "2019-05-19T22:48:19.7291831+08:00",
  "SendIP": "sample string 9",
  "IsDebug": 10
}

application/xml, text/xml

Sample:
<ITILSMSDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <ID>1</ID>
  <IsDebug>10</IsDebug>
  <MsgInfo>sample string 6</MsgInfo>
  <MsgPK>sample string 2</MsgPK>
  <SendDt>2019-05-19T22:48:19.7291831+08:00</SendDt>
  <SendIP>sample string 9</SendIP>
  <SendState>sample string 7</SendState>
  <SendToEmpNo>sample string 4</SendToEmpNo>
  <Sender>sample string 3</Sender>
  <Tel>sample string 5</Tel>
</ITILSMSDTO>

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

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>