POST api/ITILSMS/PageList

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

IViewPageListOfITILSMSDTO
NameDescriptionTypeAdditional information
data

Collection of ITILSMSDTO

None.

total

integer

None.

pageSize

integer

None.

pageNum

integer

None.

code

integer

None.

message

string

None.

HasNextPage

boolean

None.

ColumnsList

Collection of Columns

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "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:18:44.13562+08:00",
      "SendIP": "sample string 9",
      "IsDebug": 10
    },
    {
      "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:18:44.13562+08:00",
      "SendIP": "sample string 9",
      "IsDebug": 10
    }
  ],
  "total": 1,
  "pageSize": 2,
  "pageNum": 3,
  "code": 4,
  "message": "sample string 5",
  "HasNextPage": true,
  "ColumnsList": [
    {
      "key": "sample string 1",
      "title": "sample string 2",
      "type": "sample string 3",
      "width": 4,
      "align": "sample string 5",
      "value": "sample string 6"
    },
    {
      "key": "sample string 1",
      "title": "sample string 2",
      "type": "sample string 3",
      "width": 4,
      "align": "sample string 5",
      "value": "sample string 6"
    }
  ]
}

application/xml, text/xml

Sample:
<IViewPageListOfITILSMSDTOpv1JTFkd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CommonTool">
  <ColumnsList>
    <Columns>
      <align>sample string 5</align>
      <key>sample string 1</key>
      <title>sample string 2</title>
      <type>sample string 3</type>
      <value>sample string 6</value>
      <width>4</width>
    </Columns>
    <Columns>
      <align>sample string 5</align>
      <key>sample string 1</key>
      <title>sample string 2</title>
      <type>sample string 3</type>
      <value>sample string 6</value>
      <width>4</width>
    </Columns>
  </ColumnsList>
  <HasNextPage>true</HasNextPage>
  <code>4</code>
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/DTO">
    <d2p1:ITILSMSDTO>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:IsDebug>10</d2p1:IsDebug>
      <d2p1:MsgInfo>sample string 6</d2p1:MsgInfo>
      <d2p1:MsgPK>sample string 2</d2p1:MsgPK>
      <d2p1:SendDt>2019-05-19T22:18:44.13562+08:00</d2p1:SendDt>
      <d2p1:SendIP>sample string 9</d2p1:SendIP>
      <d2p1:SendState>sample string 7</d2p1:SendState>
      <d2p1:SendToEmpNo>sample string 4</d2p1:SendToEmpNo>
      <d2p1:Sender>sample string 3</d2p1:Sender>
      <d2p1:Tel>sample string 5</d2p1:Tel>
    </d2p1:ITILSMSDTO>
    <d2p1:ITILSMSDTO>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:IsDebug>10</d2p1:IsDebug>
      <d2p1:MsgInfo>sample string 6</d2p1:MsgInfo>
      <d2p1:MsgPK>sample string 2</d2p1:MsgPK>
      <d2p1:SendDt>2019-05-19T22:18:44.13562+08:00</d2p1:SendDt>
      <d2p1:SendIP>sample string 9</d2p1:SendIP>
      <d2p1:SendState>sample string 7</d2p1:SendState>
      <d2p1:SendToEmpNo>sample string 4</d2p1:SendToEmpNo>
      <d2p1:Sender>sample string 3</d2p1:Sender>
      <d2p1:Tel>sample string 5</d2p1:Tel>
    </d2p1:ITILSMSDTO>
  </data>
  <message>sample string 5</message>
  <pageNum>3</pageNum>
  <pageSize>2</pageSize>
  <total>1</total>
</IViewPageListOfITILSMSDTOpv1JTFkd>