GET api/SmsInfo/GetPagedSmsHistory?Contact={Contact}&CloudPlatform={CloudPlatform}&Status={Status}&CreateTimeFrom={CreateTimeFrom}&CreateTimeTo={CreateTimeTo}&PageSize={PageSize}&Keywords={Keywords}&PageID={PageID}

后台 - 分页获取短信历史

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Contact

联系电话

string

None.

CloudPlatform

平台类型

CloudPlatformType

None.

Status

发送状态

SmsSendStatusType

None.

CreateTimeFrom

创建时间起始

date

None.

CreateTimeTo

创建时间截止

date

None.

PageSize

每页条数

integer

None.

Keywords

关键字

string

None.

PageID

分页页数

integer

None.

Body Parameters

None.

Response Information

Resource Description

后台 - 分页获取短信历史

PagedOfSmsHistoryDto
NameDescriptionTypeAdditional information
Data

Collection of SmsHistoryDto

None.

TotalRecord

integer

None.

TotalPage

integer

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<PagedOfSmsHistoryDtoQXYWZGzF xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Infrastructure.Pages">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.Sms">
    <d2p1:SmsHistoryDto>
      <d2p1:CreationTime>2024-04-27T02:42:25.355915+08:00</d2p1:CreationTime>
      <d2p1:ErrorCode>sample string 6</d2p1:ErrorCode>
      <d2p1:ErrorMessage>sample string 7</d2p1:ErrorMessage>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:MessageId>sample string 5</d2p1:MessageId>
      <d2p1:Platform>All</d2p1:Platform>
      <d2p1:ReciverContact>sample string 2</d2p1:ReciverContact>
      <d2p1:SendTime>2024-04-27T02:42:25.355915+08:00</d2p1:SendTime>
      <d2p1:SmsContent>sample string 3</d2p1:SmsContent>
      <d2p1:Status>All</d2p1:Status>
      <d2p1:TemplateName>sample string 4</d2p1:TemplateName>
    </d2p1:SmsHistoryDto>
    <d2p1:SmsHistoryDto>
      <d2p1:CreationTime>2024-04-27T02:42:25.355915+08:00</d2p1:CreationTime>
      <d2p1:ErrorCode>sample string 6</d2p1:ErrorCode>
      <d2p1:ErrorMessage>sample string 7</d2p1:ErrorMessage>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:MessageId>sample string 5</d2p1:MessageId>
      <d2p1:Platform>All</d2p1:Platform>
      <d2p1:ReciverContact>sample string 2</d2p1:ReciverContact>
      <d2p1:SendTime>2024-04-27T02:42:25.355915+08:00</d2p1:SendTime>
      <d2p1:SmsContent>sample string 3</d2p1:SmsContent>
      <d2p1:Status>All</d2p1:Status>
      <d2p1:TemplateName>sample string 4</d2p1:TemplateName>
    </d2p1:SmsHistoryDto>
  </Data>
  <TotalPage>2</TotalPage>
  <TotalRecord>1</TotalRecord>
</PagedOfSmsHistoryDtoQXYWZGzF>