GET api/WebInterface/Coupons/MinimumSpend/Discount/Get?pageindex={pageindex}&pagesize={pagesize}

获取可用的满减优惠券类型列表

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pageindex

integer

Default value is 1

pagesize

integer

Default value is 10

Body Parameters

None.

Response Information

Resource Description

获取可用的满减优惠券类型列表

CommonOperationResultWithTagOfSimplePageDataWithNoCountResultOfCouponTypeItem
NameDescriptionTypeAdditional information
errcode

integer

None.

errmsg

string

None.

tag

SimplePageDataWithNoCountResultOfCouponTypeItem

None.

Response Formats

application/json, text/json

Sample:
{
  "errcode": 1,
  "errmsg": "sample string 2",
  "tag": {
    "pageIndex": 1,
    "pageSize": 2,
    "hasMorePages": "sample string 3",
    "records": [
      {
        "CouponTypeId": "sample string 1",
        "CouponName": "sample string 2",
        "CouponType": "sample string 3",
        "Denomination": 4.0,
        "PayBillSummaryLimit": 5.0,
        "CountLimitPerUser": 64,
        "GivenToOne": "sample string 7",
        "ComboWithOtherCoupon": "sample string 8",
        "GetWithValuePoint": "sample string 9",
        "ValuePointExchangeRate": 10,
        "SuperimposeMulti": "sample string 11",
        "BackgroundColor": "sample string 12",
        "ForeColor": "sample string 13",
        "SourceOfFund": "sample string 14",
        "UsedForBusi": "sample string 15",
        "UsedForSpecialShop": "sample string 16",
        "GivenCountLimit": 17,
        "GivenSummaryLimit": 18.0,
        "EnableStatus": "sample string 19",
        "EnableForNet": "sample string 20",
        "GetStartTime": "sample string 21",
        "GetEndTime": "sample string 22",
        "UsedForSpecialTime": "sample string 23",
        "UseStartTime": "sample string 24",
        "UseEndTime": "sample string 25",
        "UsedByDays": 26,
        "LastUpdUserLoginName": "sample string 27",
        "LastUpdTime": "2024-10-06T08:35:00.7772247+08:00",
        "GivenCount": 29,
        "GivenSummary": 30.0,
        "LastGetTime": "2024-10-06T08:35:00.7772247+08:00",
        "Reserve1": "sample string 32",
        "Reserve2": "sample string 33"
      },
      {
        "CouponTypeId": "sample string 1",
        "CouponName": "sample string 2",
        "CouponType": "sample string 3",
        "Denomination": 4.0,
        "PayBillSummaryLimit": 5.0,
        "CountLimitPerUser": 64,
        "GivenToOne": "sample string 7",
        "ComboWithOtherCoupon": "sample string 8",
        "GetWithValuePoint": "sample string 9",
        "ValuePointExchangeRate": 10,
        "SuperimposeMulti": "sample string 11",
        "BackgroundColor": "sample string 12",
        "ForeColor": "sample string 13",
        "SourceOfFund": "sample string 14",
        "UsedForBusi": "sample string 15",
        "UsedForSpecialShop": "sample string 16",
        "GivenCountLimit": 17,
        "GivenSummaryLimit": 18.0,
        "EnableStatus": "sample string 19",
        "EnableForNet": "sample string 20",
        "GetStartTime": "sample string 21",
        "GetEndTime": "sample string 22",
        "UsedForSpecialTime": "sample string 23",
        "UseStartTime": "sample string 24",
        "UseEndTime": "sample string 25",
        "UsedByDays": 26,
        "LastUpdUserLoginName": "sample string 27",
        "LastUpdTime": "2024-10-06T08:35:00.7772247+08:00",
        "GivenCount": 29,
        "GivenSummary": 30.0,
        "LastGetTime": "2024-10-06T08:35:00.7772247+08:00",
        "Reserve1": "sample string 32",
        "Reserve2": "sample string 33"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<CommonOperationResultWithTagOfSimplePageDataWithNoCountResultOfCouponTypeItemG7pGc9yPrCdCJ3eC xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer">
  <errcode>1</errcode>
  <errmsg>sample string 2</errmsg>
  <tag>
    <hasMorePages>sample string 3</hasMorePages>
    <pageIndex>1</pageIndex>
    <pageSize>2</pageSize>
    <records xmlns:d3p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Result.Coupon">
      <d3p1:CouponTypeItem>
        <d3p1:BackgroundColor>sample string 12</d3p1:BackgroundColor>
        <d3p1:ComboWithOtherCoupon>sample string 8</d3p1:ComboWithOtherCoupon>
        <d3p1:CountLimitPerUser>64</d3p1:CountLimitPerUser>
        <d3p1:CouponName>sample string 2</d3p1:CouponName>
        <d3p1:CouponType>sample string 3</d3p1:CouponType>
        <d3p1:CouponTypeId>sample string 1</d3p1:CouponTypeId>
        <d3p1:Denomination>4</d3p1:Denomination>
        <d3p1:EnableForNet>sample string 20</d3p1:EnableForNet>
        <d3p1:EnableStatus>sample string 19</d3p1:EnableStatus>
        <d3p1:ForeColor>sample string 13</d3p1:ForeColor>
        <d3p1:GetEndTime>sample string 22</d3p1:GetEndTime>
        <d3p1:GetStartTime>sample string 21</d3p1:GetStartTime>
        <d3p1:GetWithValuePoint>sample string 9</d3p1:GetWithValuePoint>
        <d3p1:GivenCount>29</d3p1:GivenCount>
        <d3p1:GivenCountLimit>17</d3p1:GivenCountLimit>
        <d3p1:GivenSummary>30</d3p1:GivenSummary>
        <d3p1:GivenSummaryLimit>18</d3p1:GivenSummaryLimit>
        <d3p1:GivenToOne>sample string 7</d3p1:GivenToOne>
        <d3p1:LastGetTime>2024-10-06T08:35:00.7772247+08:00</d3p1:LastGetTime>
        <d3p1:LastUpdTime>2024-10-06T08:35:00.7772247+08:00</d3p1:LastUpdTime>
        <d3p1:LastUpdUserLoginName>sample string 27</d3p1:LastUpdUserLoginName>
        <d3p1:PayBillSummaryLimit>5</d3p1:PayBillSummaryLimit>
        <d3p1:Reserve1>sample string 32</d3p1:Reserve1>
        <d3p1:Reserve2>sample string 33</d3p1:Reserve2>
        <d3p1:SourceOfFund>sample string 14</d3p1:SourceOfFund>
        <d3p1:SuperimposeMulti>sample string 11</d3p1:SuperimposeMulti>
        <d3p1:UseEndTime>sample string 25</d3p1:UseEndTime>
        <d3p1:UseStartTime>sample string 24</d3p1:UseStartTime>
        <d3p1:UsedByDays>26</d3p1:UsedByDays>
        <d3p1:UsedForBusi>sample string 15</d3p1:UsedForBusi>
        <d3p1:UsedForSpecialShop>sample string 16</d3p1:UsedForSpecialShop>
        <d3p1:UsedForSpecialTime>sample string 23</d3p1:UsedForSpecialTime>
        <d3p1:ValuePointExchangeRate>10</d3p1:ValuePointExchangeRate>
      </d3p1:CouponTypeItem>
      <d3p1:CouponTypeItem>
        <d3p1:BackgroundColor>sample string 12</d3p1:BackgroundColor>
        <d3p1:ComboWithOtherCoupon>sample string 8</d3p1:ComboWithOtherCoupon>
        <d3p1:CountLimitPerUser>64</d3p1:CountLimitPerUser>
        <d3p1:CouponName>sample string 2</d3p1:CouponName>
        <d3p1:CouponType>sample string 3</d3p1:CouponType>
        <d3p1:CouponTypeId>sample string 1</d3p1:CouponTypeId>
        <d3p1:Denomination>4</d3p1:Denomination>
        <d3p1:EnableForNet>sample string 20</d3p1:EnableForNet>
        <d3p1:EnableStatus>sample string 19</d3p1:EnableStatus>
        <d3p1:ForeColor>sample string 13</d3p1:ForeColor>
        <d3p1:GetEndTime>sample string 22</d3p1:GetEndTime>
        <d3p1:GetStartTime>sample string 21</d3p1:GetStartTime>
        <d3p1:GetWithValuePoint>sample string 9</d3p1:GetWithValuePoint>
        <d3p1:GivenCount>29</d3p1:GivenCount>
        <d3p1:GivenCountLimit>17</d3p1:GivenCountLimit>
        <d3p1:GivenSummary>30</d3p1:GivenSummary>
        <d3p1:GivenSummaryLimit>18</d3p1:GivenSummaryLimit>
        <d3p1:GivenToOne>sample string 7</d3p1:GivenToOne>
        <d3p1:LastGetTime>2024-10-06T08:35:00.7772247+08:00</d3p1:LastGetTime>
        <d3p1:LastUpdTime>2024-10-06T08:35:00.7772247+08:00</d3p1:LastUpdTime>
        <d3p1:LastUpdUserLoginName>sample string 27</d3p1:LastUpdUserLoginName>
        <d3p1:PayBillSummaryLimit>5</d3p1:PayBillSummaryLimit>
        <d3p1:Reserve1>sample string 32</d3p1:Reserve1>
        <d3p1:Reserve2>sample string 33</d3p1:Reserve2>
        <d3p1:SourceOfFund>sample string 14</d3p1:SourceOfFund>
        <d3p1:SuperimposeMulti>sample string 11</d3p1:SuperimposeMulti>
        <d3p1:UseEndTime>sample string 25</d3p1:UseEndTime>
        <d3p1:UseStartTime>sample string 24</d3p1:UseStartTime>
        <d3p1:UsedByDays>26</d3p1:UsedByDays>
        <d3p1:UsedForBusi>sample string 15</d3p1:UsedForBusi>
        <d3p1:UsedForSpecialShop>sample string 16</d3p1:UsedForSpecialShop>
        <d3p1:UsedForSpecialTime>sample string 23</d3p1:UsedForSpecialTime>
        <d3p1:ValuePointExchangeRate>10</d3p1:ValuePointExchangeRate>
      </d3p1:CouponTypeItem>
    </records>
  </tag>
</CommonOperationResultWithTagOfSimplePageDataWithNoCountResultOfCouponTypeItemG7pGc9yPrCdCJ3eC>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.