GET api/WechatTemplate/GetPagedWechatTemplates?BizType={BizType}&PageSize={PageSize}&Search={Search}&PageID={PageID}

后台 - 分页搜索模板消息

Request Information

URI Parameters

NameDescriptionTypeAdditional information
BizType

关联业务类型搜索

TemplateBizType

None.

PageSize

每页条数

integer

None.

Search

关键字

string

None.

Keywords

关键字

string

None.

PageID

分页页数

integer

None.

Body Parameters

None.

Response Information

Resource Description

后台 - 分页搜索模板消息

PagedOfWechatTemplateDto
NameDescriptionTypeAdditional information
Data

Collection of WechatTemplateDto

None.

TotalRecord

integer

None.

TotalPage

integer

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:
<PagedOfWechatTemplateDtooqPDcdcy 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.WeChat">
    <d2p1:WechatTemplateDto>
      <d2p1:ActionType>CarpoolNotify</d2p1:ActionType>
      <d2p1:AdviseSerialNum>sample string 3</d2p1:AdviseSerialNum>
      <d2p1:AvailableVariables>sample string 6</d2p1:AvailableVariables>
      <d2p1:Business>All</d2p1:Business>
      <d2p1:Content>sample string 7</d2p1:Content>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsActivated>true</d2p1:IsActivated>
      <d2p1:Link>sample string 9</d2p1:Link>
      <d2p1:LinkType>Url</d2p1:LinkType>
      <d2p1:Name>sample string 4</d2p1:Name>
      <d2p1:NotifyUserType>ForAll</d2p1:NotifyUserType>
      <d2p1:SerialNum>sample string 2</d2p1:SerialNum>
      <d2p1:SpecifiedNotifiedUser xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.AdminUser">
        <d4p1:AdminUserIdNameDto>
          <d4p1:Chrname>sample string 2</d4p1:Chrname>
          <d4p1:Id>1</d4p1:Id>
        </d4p1:AdminUserIdNameDto>
        <d4p1:AdminUserIdNameDto>
          <d4p1:Chrname>sample string 2</d4p1:Chrname>
          <d4p1:Id>1</d4p1:Id>
        </d4p1:AdminUserIdNameDto>
      </d2p1:SpecifiedNotifiedUser>
      <d2p1:SpecifiedNotifiedUserId>sample string 5</d2p1:SpecifiedNotifiedUserId>
    </d2p1:WechatTemplateDto>
    <d2p1:WechatTemplateDto>
      <d2p1:ActionType>CarpoolNotify</d2p1:ActionType>
      <d2p1:AdviseSerialNum>sample string 3</d2p1:AdviseSerialNum>
      <d2p1:AvailableVariables>sample string 6</d2p1:AvailableVariables>
      <d2p1:Business>All</d2p1:Business>
      <d2p1:Content>sample string 7</d2p1:Content>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsActivated>true</d2p1:IsActivated>
      <d2p1:Link>sample string 9</d2p1:Link>
      <d2p1:LinkType>Url</d2p1:LinkType>
      <d2p1:Name>sample string 4</d2p1:Name>
      <d2p1:NotifyUserType>ForAll</d2p1:NotifyUserType>
      <d2p1:SerialNum>sample string 2</d2p1:SerialNum>
      <d2p1:SpecifiedNotifiedUser xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.AdminUser">
        <d4p1:AdminUserIdNameDto>
          <d4p1:Chrname>sample string 2</d4p1:Chrname>
          <d4p1:Id>1</d4p1:Id>
        </d4p1:AdminUserIdNameDto>
        <d4p1:AdminUserIdNameDto>
          <d4p1:Chrname>sample string 2</d4p1:Chrname>
          <d4p1:Id>1</d4p1:Id>
        </d4p1:AdminUserIdNameDto>
      </d2p1:SpecifiedNotifiedUser>
      <d2p1:SpecifiedNotifiedUserId>sample string 5</d2p1:SpecifiedNotifiedUserId>
    </d2p1:WechatTemplateDto>
  </Data>
  <TotalPage>2</TotalPage>
  <TotalRecord>1</TotalRecord>
</PagedOfWechatTemplateDtooqPDcdcy>