GET api/MhOrder/GetCouponLists?pluginId={pluginId}
获取门户优惠券
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
pluginId | integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
获取门户优惠券
Collection of OrdeCouponListDtoName | Description | Type | Additional information |
---|---|---|---|
Id |
唯一标识 |
integer |
None. |
Amount |
优惠卷金额 |
decimal number |
None. |
ExpireTime |
过期时间 |
date |
None. |
AssemblyListDtos |
优惠券限定的插件集合 |
Collection of AssemblyListDto |
None. |
Response Formats
application/json
Sample:
text/json
Sample:
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>