GET api/MhOrder/GetCouponLists?pluginId={pluginId}

获取门户优惠券

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pluginId

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

获取门户优惠券

Collection of OrdeCouponListDto
NameDescriptionTypeAdditional information
Id

唯一标识

integer

None.

Amount

优惠卷金额

decimal number

None.

ExpireTime

过期时间

date

None.

AssemblyListDtos

优惠券限定的插件集合

Collection of AssemblyListDto

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:
<ArrayOfOrdeCouponListDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.WorkOrderSystem">
  <OrdeCouponListDto>
    <Amount>2.1</Amount>
    <AssemblyListDtos>
      <AssemblyListDto>
        <Id>1</Id>
        <IsActive>true</IsActive>
        <IsShelf>true</IsShelf>
        <Name>sample string 2</Name>
      </AssemblyListDto>
      <AssemblyListDto>
        <Id>1</Id>
        <IsActive>true</IsActive>
        <IsShelf>true</IsShelf>
        <Name>sample string 2</Name>
      </AssemblyListDto>
    </AssemblyListDtos>
    <ExpireTime>2024-04-30T01:48:03.2385635+08:00</ExpireTime>
    <Id>1</Id>
  </OrdeCouponListDto>
  <OrdeCouponListDto>
    <Amount>2.1</Amount>
    <AssemblyListDtos>
      <AssemblyListDto>
        <Id>1</Id>
        <IsActive>true</IsActive>
        <IsShelf>true</IsShelf>
        <Name>sample string 2</Name>
      </AssemblyListDto>
      <AssemblyListDto>
        <Id>1</Id>
        <IsActive>true</IsActive>
        <IsShelf>true</IsShelf>
        <Name>sample string 2</Name>
      </AssemblyListDto>
    </AssemblyListDtos>
    <ExpireTime>2024-04-30T01:48:03.2385635+08:00</ExpireTime>
    <Id>1</Id>
  </OrdeCouponListDto>
</ArrayOfOrdeCouponListDto>