GET api/WebInterface/Coupons/CanBeReceived/Load?memberid={memberid}&pageindex={pageindex}&pagesize={pagesize}
加载可以被领取的优惠券列表
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
memberid | integer |
Required |
|
pageindex | integer |
Default value is 1 |
|
pagesize | integer |
Default value is 10 |
Body Parameters
None.
Response Information
Resource Description
加载可以被领取的优惠券列表
CommonOperationResultWithTagOfSimplePageDataWithNoCountResultOfCouponTypeAndShopItemName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | SimplePageDataWithNoCountResultOfCouponTypeAndShopItem |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": { "pageIndex": 1, "pageSize": 2, "hasMorePages": "sample string 3", "records": [ { "ShopItems": [ { "CouponTypeId": "sample string 1", "MerchantId": 2, "ShopId": "sample string 3", "MerchantName": "sample string 4", "ShopName": "sample string 5" }, { "CouponTypeId": "sample string 1", "MerchantId": 2, "ShopId": "sample string 3", "MerchantName": "sample string 4", "ShopName": "sample string 5" } ], "IsReceive": "sample string 1", "num": 2, "CouponTypeId": "sample string 3", "CouponName": "sample string 4", "CouponType": "sample string 5", "Denomination": 6.0, "PayBillSummaryLimit": 7.0, "CountLimitPerUser": 64, "GivenToOne": "sample string 9", "ComboWithOtherCoupon": "sample string 10", "GetWithValuePoint": "sample string 11", "ValuePointExchangeRate": 12, "SuperimposeMulti": "sample string 13", "BackgroundColor": "sample string 14", "ForeColor": "sample string 15", "SourceOfFund": "sample string 16", "UsedForBusi": "sample string 17", "UsedForSpecialShop": "sample string 18", "GivenCountLimit": 19, "GivenSummaryLimit": 20.0, "EnableStatus": "sample string 21", "EnableForNet": "sample string 22", "GetStartTime": "sample string 23", "GetEndTime": "sample string 24", "UsedForSpecialTime": "sample string 25", "UseStartTime": "sample string 26", "UseEndTime": "sample string 27", "UsedByDays": 28, "LastUpdUserLoginName": "sample string 29", "LastUpdTime": "2025-01-22T01:26:56.9252912+08:00", "GivenCount": 31, "GivenSummary": 32.0, "LastGetTime": "2025-01-22T01:26:56.9252912+08:00", "Reserve1": "sample string 34", "Reserve2": "sample string 35" }, { "ShopItems": [ { "CouponTypeId": "sample string 1", "MerchantId": 2, "ShopId": "sample string 3", "MerchantName": "sample string 4", "ShopName": "sample string 5" }, { "CouponTypeId": "sample string 1", "MerchantId": 2, "ShopId": "sample string 3", "MerchantName": "sample string 4", "ShopName": "sample string 5" } ], "IsReceive": "sample string 1", "num": 2, "CouponTypeId": "sample string 3", "CouponName": "sample string 4", "CouponType": "sample string 5", "Denomination": 6.0, "PayBillSummaryLimit": 7.0, "CountLimitPerUser": 64, "GivenToOne": "sample string 9", "ComboWithOtherCoupon": "sample string 10", "GetWithValuePoint": "sample string 11", "ValuePointExchangeRate": 12, "SuperimposeMulti": "sample string 13", "BackgroundColor": "sample string 14", "ForeColor": "sample string 15", "SourceOfFund": "sample string 16", "UsedForBusi": "sample string 17", "UsedForSpecialShop": "sample string 18", "GivenCountLimit": 19, "GivenSummaryLimit": 20.0, "EnableStatus": "sample string 21", "EnableForNet": "sample string 22", "GetStartTime": "sample string 23", "GetEndTime": "sample string 24", "UsedForSpecialTime": "sample string 25", "UseStartTime": "sample string 26", "UseEndTime": "sample string 27", "UsedByDays": 28, "LastUpdUserLoginName": "sample string 29", "LastUpdTime": "2025-01-22T01:26:56.9252912+08:00", "GivenCount": 31, "GivenSummary": 32.0, "LastGetTime": "2025-01-22T01:26:56.9252912+08:00", "Reserve1": "sample string 34", "Reserve2": "sample string 35" } ] } }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfSimplePageDataWithNoCountResultOfCouponTypeAndShopItemG7pGc9yPrCdCJ3eC 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:CouponTypeAndShopItem> <d3p1:BackgroundColor>sample string 14</d3p1:BackgroundColor> <d3p1:ComboWithOtherCoupon>sample string 10</d3p1:ComboWithOtherCoupon> <d3p1:CountLimitPerUser>64</d3p1:CountLimitPerUser> <d3p1:CouponName>sample string 4</d3p1:CouponName> <d3p1:CouponType>sample string 5</d3p1:CouponType> <d3p1:CouponTypeId>sample string 3</d3p1:CouponTypeId> <d3p1:Denomination>6</d3p1:Denomination> <d3p1:EnableForNet>sample string 22</d3p1:EnableForNet> <d3p1:EnableStatus>sample string 21</d3p1:EnableStatus> <d3p1:ForeColor>sample string 15</d3p1:ForeColor> <d3p1:GetEndTime>sample string 24</d3p1:GetEndTime> <d3p1:GetStartTime>sample string 23</d3p1:GetStartTime> <d3p1:GetWithValuePoint>sample string 11</d3p1:GetWithValuePoint> <d3p1:GivenCount>31</d3p1:GivenCount> <d3p1:GivenCountLimit>19</d3p1:GivenCountLimit> <d3p1:GivenSummary>32</d3p1:GivenSummary> <d3p1:GivenSummaryLimit>20</d3p1:GivenSummaryLimit> <d3p1:GivenToOne>sample string 9</d3p1:GivenToOne> <d3p1:LastGetTime>2025-01-22T01:26:56.9252912+08:00</d3p1:LastGetTime> <d3p1:LastUpdTime>2025-01-22T01:26:56.9252912+08:00</d3p1:LastUpdTime> <d3p1:LastUpdUserLoginName>sample string 29</d3p1:LastUpdUserLoginName> <d3p1:PayBillSummaryLimit>7</d3p1:PayBillSummaryLimit> <d3p1:Reserve1>sample string 34</d3p1:Reserve1> <d3p1:Reserve2>sample string 35</d3p1:Reserve2> <d3p1:SourceOfFund>sample string 16</d3p1:SourceOfFund> <d3p1:SuperimposeMulti>sample string 13</d3p1:SuperimposeMulti> <d3p1:UseEndTime>sample string 27</d3p1:UseEndTime> <d3p1:UseStartTime>sample string 26</d3p1:UseStartTime> <d3p1:UsedByDays>28</d3p1:UsedByDays> <d3p1:UsedForBusi>sample string 17</d3p1:UsedForBusi> <d3p1:UsedForSpecialShop>sample string 18</d3p1:UsedForSpecialShop> <d3p1:UsedForSpecialTime>sample string 25</d3p1:UsedForSpecialTime> <d3p1:ValuePointExchangeRate>12</d3p1:ValuePointExchangeRate> <d3p1:IsReceive>sample string 1</d3p1:IsReceive> <d3p1:ShopItems> <d3p1:CouponTypeShopItem> <d3p1:CouponTypeId>sample string 1</d3p1:CouponTypeId> <d3p1:MerchantId>2</d3p1:MerchantId> <d3p1:MerchantName>sample string 4</d3p1:MerchantName> <d3p1:ShopId>sample string 3</d3p1:ShopId> <d3p1:ShopName>sample string 5</d3p1:ShopName> </d3p1:CouponTypeShopItem> <d3p1:CouponTypeShopItem> <d3p1:CouponTypeId>sample string 1</d3p1:CouponTypeId> <d3p1:MerchantId>2</d3p1:MerchantId> <d3p1:MerchantName>sample string 4</d3p1:MerchantName> <d3p1:ShopId>sample string 3</d3p1:ShopId> <d3p1:ShopName>sample string 5</d3p1:ShopName> </d3p1:CouponTypeShopItem> </d3p1:ShopItems> <d3p1:num>2</d3p1:num> </d3p1:CouponTypeAndShopItem> <d3p1:CouponTypeAndShopItem> <d3p1:BackgroundColor>sample string 14</d3p1:BackgroundColor> <d3p1:ComboWithOtherCoupon>sample string 10</d3p1:ComboWithOtherCoupon> <d3p1:CountLimitPerUser>64</d3p1:CountLimitPerUser> <d3p1:CouponName>sample string 4</d3p1:CouponName> <d3p1:CouponType>sample string 5</d3p1:CouponType> <d3p1:CouponTypeId>sample string 3</d3p1:CouponTypeId> <d3p1:Denomination>6</d3p1:Denomination> <d3p1:EnableForNet>sample string 22</d3p1:EnableForNet> <d3p1:EnableStatus>sample string 21</d3p1:EnableStatus> <d3p1:ForeColor>sample string 15</d3p1:ForeColor> <d3p1:GetEndTime>sample string 24</d3p1:GetEndTime> <d3p1:GetStartTime>sample string 23</d3p1:GetStartTime> <d3p1:GetWithValuePoint>sample string 11</d3p1:GetWithValuePoint> <d3p1:GivenCount>31</d3p1:GivenCount> <d3p1:GivenCountLimit>19</d3p1:GivenCountLimit> <d3p1:GivenSummary>32</d3p1:GivenSummary> <d3p1:GivenSummaryLimit>20</d3p1:GivenSummaryLimit> <d3p1:GivenToOne>sample string 9</d3p1:GivenToOne> <d3p1:LastGetTime>2025-01-22T01:26:56.9252912+08:00</d3p1:LastGetTime> <d3p1:LastUpdTime>2025-01-22T01:26:56.9252912+08:00</d3p1:LastUpdTime> <d3p1:LastUpdUserLoginName>sample string 29</d3p1:LastUpdUserLoginName> <d3p1:PayBillSummaryLimit>7</d3p1:PayBillSummaryLimit> <d3p1:Reserve1>sample string 34</d3p1:Reserve1> <d3p1:Reserve2>sample string 35</d3p1:Reserve2> <d3p1:SourceOfFund>sample string 16</d3p1:SourceOfFund> <d3p1:SuperimposeMulti>sample string 13</d3p1:SuperimposeMulti> <d3p1:UseEndTime>sample string 27</d3p1:UseEndTime> <d3p1:UseStartTime>sample string 26</d3p1:UseStartTime> <d3p1:UsedByDays>28</d3p1:UsedByDays> <d3p1:UsedForBusi>sample string 17</d3p1:UsedForBusi> <d3p1:UsedForSpecialShop>sample string 18</d3p1:UsedForSpecialShop> <d3p1:UsedForSpecialTime>sample string 25</d3p1:UsedForSpecialTime> <d3p1:ValuePointExchangeRate>12</d3p1:ValuePointExchangeRate> <d3p1:IsReceive>sample string 1</d3p1:IsReceive> <d3p1:ShopItems> <d3p1:CouponTypeShopItem> <d3p1:CouponTypeId>sample string 1</d3p1:CouponTypeId> <d3p1:MerchantId>2</d3p1:MerchantId> <d3p1:MerchantName>sample string 4</d3p1:MerchantName> <d3p1:ShopId>sample string 3</d3p1:ShopId> <d3p1:ShopName>sample string 5</d3p1:ShopName> </d3p1:CouponTypeShopItem> <d3p1:CouponTypeShopItem> <d3p1:CouponTypeId>sample string 1</d3p1:CouponTypeId> <d3p1:MerchantId>2</d3p1:MerchantId> <d3p1:MerchantName>sample string 4</d3p1:MerchantName> <d3p1:ShopId>sample string 3</d3p1:ShopId> <d3p1:ShopName>sample string 5</d3p1:ShopName> </d3p1:CouponTypeShopItem> </d3p1:ShopItems> <d3p1:num>2</d3p1:num> </d3p1:CouponTypeAndShopItem> </records> </tag> </CommonOperationResultWithTagOfSimplePageDataWithNoCountResultOfCouponTypeAndShopItemG7pGc9yPrCdCJ3eC>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.