GET api/ITILSMS/GetModelById/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

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.

Response 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-03-22T04:04:29.1684594+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-03-22T04:04:29.1684594+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>