POST api/SmsInfo/ClearSmsHistory

后台 - 按照搜索参数(并不会分页)清除短信历史

Request Information

URI Parameters

None.

Body Parameters

搜索参数

SmsHistoryAdminSearchDto
NameDescriptionTypeAdditional information
Contact

联系电话

string

None.

CloudPlatform

平台类型

CloudPlatformType

None.

Status

发送状态

SmsSendStatusType

None.

CreateTimeFrom

创建时间起始

date

None.

CreateTimeTo

创建时间截止

date

None.

PageSize

每页条数

integer

None.

Search

关键字

string

None.

Keywords

关键字

string

None.

PageID

分页页数

integer

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

application/xml, text/xml

Sample:
<SmsHistoryAdminSearchDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.Sms.Admin">
  <PageID xmlns="http://schemas.datacontract.org/2004/07/Mh.WebHelper.Pages">6</PageID>
  <PageSize xmlns="http://schemas.datacontract.org/2004/07/Mh.WebHelper.Pages">4</PageSize>
  <Search xmlns="http://schemas.datacontract.org/2004/07/Mh.WebHelper.Pages">sample string 5</Search>
  <CloudPlatform>All</CloudPlatform>
  <Contact>sample string 1</Contact>
  <CreateTimeFrom>2024-04-25T18:28:40.8038855+08:00</CreateTimeFrom>
  <CreateTimeTo>2024-04-25T18:28:40.8038855+08:00</CreateTimeTo>
  <Status>All</Status>
</SmsHistoryAdminSearchDto>

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

Response Information

Resource Description

后台 - 按照搜索参数(并不会分页)清除短信历史

Object

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />