GET api/WebInterface/Coupons/GetCouponsList/His/ByMemberId?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
获取某个会员所拥有的优惠券列表,已使用的
CommonOperationResultWithTagOfSimplePageDataWithNoCountResultOfCouponItemName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | SimplePageDataWithNoCountResultOfCouponItem |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": { "pageIndex": 1, "pageSize": 2, "hasMorePages": "sample string 3", "records": [ { "LogItems": [ { "CouponId": "sample string 1", "LogId": 2, "EventType": "sample string 3", "EventDesc": "sample string 4", "HappenTime": "sample string 5", "UserLoginName": "sample string 6" }, { "CouponId": "sample string 1", "LogId": 2, "EventType": "sample string 3", "EventDesc": "sample string 4", "HappenTime": "sample string 5", "UserLoginName": "sample string 6" } ], "ShopItems": [ { "CouponId": "sample string 1", "MerchantId": 2, "ShopId": "sample string 3", "MerchantName": "sample string 4", "ShopName": "sample string 5" }, { "CouponId": "sample string 1", "MerchantId": 2, "ShopId": "sample string 3", "MerchantName": "sample string 4", "ShopName": "sample string 5" } ], "CouponId": "sample string 1", "RndCode": "sample string 2", "MemberId": 3, "HoldUserName": "sample string 4", "HoldUserMobile": "sample string 5", "CouponTypeId": "sample string 6", "CouponName": "sample string 7", "CouponType": "sample string 8", "Denomination": 9.0, "BackgroundColor": "sample string 10", "ForeColor": "sample string 11", "PayBillSummaryLimit": 12.0, "GivenToOne": "sample string 13", "ComboWithOtherCoupon": "sample string 14", "SuperimposeMulti": "sample string 15", "SourceOfFund": "sample string 16", "UsedForBusi": "sample string 17", "UsedForSpecialShop": "sample string 18", "UseStatus": "sample string 19", "UsedTime": "sample string 20", "UsedForBusiYet": "sample string 21", "BusiBillNum": "sample string 22", "UsedByMerchant": "sample string 23", "UsedMerchantId": 24, "UsedMerchantName": "sample string 25", "UsedShopId": "sample string 26", "UsedShopName": "sample string 27", "GetTime": "sample string 28", "GetChannel": "sample string 29", "DispatchUserLoginName": "sample string 30", "UsingUserLoginName": "sample string 31", "UseStartTime": "sample string 32", "UseEndTime": "sample string 33", "Reserve1": "sample string 34", "Reserve2": "sample string 35" }, { "LogItems": [ { "CouponId": "sample string 1", "LogId": 2, "EventType": "sample string 3", "EventDesc": "sample string 4", "HappenTime": "sample string 5", "UserLoginName": "sample string 6" }, { "CouponId": "sample string 1", "LogId": 2, "EventType": "sample string 3", "EventDesc": "sample string 4", "HappenTime": "sample string 5", "UserLoginName": "sample string 6" } ], "ShopItems": [ { "CouponId": "sample string 1", "MerchantId": 2, "ShopId": "sample string 3", "MerchantName": "sample string 4", "ShopName": "sample string 5" }, { "CouponId": "sample string 1", "MerchantId": 2, "ShopId": "sample string 3", "MerchantName": "sample string 4", "ShopName": "sample string 5" } ], "CouponId": "sample string 1", "RndCode": "sample string 2", "MemberId": 3, "HoldUserName": "sample string 4", "HoldUserMobile": "sample string 5", "CouponTypeId": "sample string 6", "CouponName": "sample string 7", "CouponType": "sample string 8", "Denomination": 9.0, "BackgroundColor": "sample string 10", "ForeColor": "sample string 11", "PayBillSummaryLimit": 12.0, "GivenToOne": "sample string 13", "ComboWithOtherCoupon": "sample string 14", "SuperimposeMulti": "sample string 15", "SourceOfFund": "sample string 16", "UsedForBusi": "sample string 17", "UsedForSpecialShop": "sample string 18", "UseStatus": "sample string 19", "UsedTime": "sample string 20", "UsedForBusiYet": "sample string 21", "BusiBillNum": "sample string 22", "UsedByMerchant": "sample string 23", "UsedMerchantId": 24, "UsedMerchantName": "sample string 25", "UsedShopId": "sample string 26", "UsedShopName": "sample string 27", "GetTime": "sample string 28", "GetChannel": "sample string 29", "DispatchUserLoginName": "sample string 30", "UsingUserLoginName": "sample string 31", "UseStartTime": "sample string 32", "UseEndTime": "sample string 33", "Reserve1": "sample string 34", "Reserve2": "sample string 35" } ] } }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfSimplePageDataWithNoCountResultOfCouponItemG7pGc9yPrCdCJ3eC 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:CouponItem> <d3p1:BackgroundColor>sample string 10</d3p1:BackgroundColor> <d3p1:BusiBillNum>sample string 22</d3p1:BusiBillNum> <d3p1:ComboWithOtherCoupon>sample string 14</d3p1:ComboWithOtherCoupon> <d3p1:CouponId>sample string 1</d3p1:CouponId> <d3p1:CouponName>sample string 7</d3p1:CouponName> <d3p1:CouponType>sample string 8</d3p1:CouponType> <d3p1:CouponTypeId>sample string 6</d3p1:CouponTypeId> <d3p1:Denomination>9</d3p1:Denomination> <d3p1:DispatchUserLoginName>sample string 30</d3p1:DispatchUserLoginName> <d3p1:ForeColor>sample string 11</d3p1:ForeColor> <d3p1:GetChannel>sample string 29</d3p1:GetChannel> <d3p1:GetTime>sample string 28</d3p1:GetTime> <d3p1:GivenToOne>sample string 13</d3p1:GivenToOne> <d3p1:HoldUserMobile>sample string 5</d3p1:HoldUserMobile> <d3p1:HoldUserName>sample string 4</d3p1:HoldUserName> <d3p1:MemberId>3</d3p1:MemberId> <d3p1:PayBillSummaryLimit>12</d3p1:PayBillSummaryLimit> <d3p1:Reserve1>sample string 34</d3p1:Reserve1> <d3p1:Reserve2>sample string 35</d3p1:Reserve2> <d3p1:RndCode>sample string 2</d3p1:RndCode> <d3p1:SourceOfFund>sample string 16</d3p1:SourceOfFund> <d3p1:SuperimposeMulti>sample string 15</d3p1:SuperimposeMulti> <d3p1:UseEndTime>sample string 33</d3p1:UseEndTime> <d3p1:UseStartTime>sample string 32</d3p1:UseStartTime> <d3p1:UseStatus>sample string 19</d3p1:UseStatus> <d3p1:UsedByMerchant>sample string 23</d3p1:UsedByMerchant> <d3p1:UsedForBusi>sample string 17</d3p1:UsedForBusi> <d3p1:UsedForBusiYet>sample string 21</d3p1:UsedForBusiYet> <d3p1:UsedForSpecialShop>sample string 18</d3p1:UsedForSpecialShop> <d3p1:UsedMerchantId>24</d3p1:UsedMerchantId> <d3p1:UsedMerchantName>sample string 25</d3p1:UsedMerchantName> <d3p1:UsedShopId>sample string 26</d3p1:UsedShopId> <d3p1:UsedShopName>sample string 27</d3p1:UsedShopName> <d3p1:UsedTime>sample string 20</d3p1:UsedTime> <d3p1:UsingUserLoginName>sample string 31</d3p1:UsingUserLoginName> <d3p1:LogItems> <d3p1:CouponLogItem> <d3p1:CouponId>sample string 1</d3p1:CouponId> <d3p1:EventDesc>sample string 4</d3p1:EventDesc> <d3p1:EventType>sample string 3</d3p1:EventType> <d3p1:HappenTime>sample string 5</d3p1:HappenTime> <d3p1:LogId>2</d3p1:LogId> <d3p1:UserLoginName>sample string 6</d3p1:UserLoginName> </d3p1:CouponLogItem> <d3p1:CouponLogItem> <d3p1:CouponId>sample string 1</d3p1:CouponId> <d3p1:EventDesc>sample string 4</d3p1:EventDesc> <d3p1:EventType>sample string 3</d3p1:EventType> <d3p1:HappenTime>sample string 5</d3p1:HappenTime> <d3p1:LogId>2</d3p1:LogId> <d3p1:UserLoginName>sample string 6</d3p1:UserLoginName> </d3p1:CouponLogItem> </d3p1:LogItems> <d3p1:ShopItems> <d3p1:CouponShopItem> <d3p1:CouponId>sample string 1</d3p1:CouponId> <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:CouponShopItem> <d3p1:CouponShopItem> <d3p1:CouponId>sample string 1</d3p1:CouponId> <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:CouponShopItem> </d3p1:ShopItems> </d3p1:CouponItem> <d3p1:CouponItem> <d3p1:BackgroundColor>sample string 10</d3p1:BackgroundColor> <d3p1:BusiBillNum>sample string 22</d3p1:BusiBillNum> <d3p1:ComboWithOtherCoupon>sample string 14</d3p1:ComboWithOtherCoupon> <d3p1:CouponId>sample string 1</d3p1:CouponId> <d3p1:CouponName>sample string 7</d3p1:CouponName> <d3p1:CouponType>sample string 8</d3p1:CouponType> <d3p1:CouponTypeId>sample string 6</d3p1:CouponTypeId> <d3p1:Denomination>9</d3p1:Denomination> <d3p1:DispatchUserLoginName>sample string 30</d3p1:DispatchUserLoginName> <d3p1:ForeColor>sample string 11</d3p1:ForeColor> <d3p1:GetChannel>sample string 29</d3p1:GetChannel> <d3p1:GetTime>sample string 28</d3p1:GetTime> <d3p1:GivenToOne>sample string 13</d3p1:GivenToOne> <d3p1:HoldUserMobile>sample string 5</d3p1:HoldUserMobile> <d3p1:HoldUserName>sample string 4</d3p1:HoldUserName> <d3p1:MemberId>3</d3p1:MemberId> <d3p1:PayBillSummaryLimit>12</d3p1:PayBillSummaryLimit> <d3p1:Reserve1>sample string 34</d3p1:Reserve1> <d3p1:Reserve2>sample string 35</d3p1:Reserve2> <d3p1:RndCode>sample string 2</d3p1:RndCode> <d3p1:SourceOfFund>sample string 16</d3p1:SourceOfFund> <d3p1:SuperimposeMulti>sample string 15</d3p1:SuperimposeMulti> <d3p1:UseEndTime>sample string 33</d3p1:UseEndTime> <d3p1:UseStartTime>sample string 32</d3p1:UseStartTime> <d3p1:UseStatus>sample string 19</d3p1:UseStatus> <d3p1:UsedByMerchant>sample string 23</d3p1:UsedByMerchant> <d3p1:UsedForBusi>sample string 17</d3p1:UsedForBusi> <d3p1:UsedForBusiYet>sample string 21</d3p1:UsedForBusiYet> <d3p1:UsedForSpecialShop>sample string 18</d3p1:UsedForSpecialShop> <d3p1:UsedMerchantId>24</d3p1:UsedMerchantId> <d3p1:UsedMerchantName>sample string 25</d3p1:UsedMerchantName> <d3p1:UsedShopId>sample string 26</d3p1:UsedShopId> <d3p1:UsedShopName>sample string 27</d3p1:UsedShopName> <d3p1:UsedTime>sample string 20</d3p1:UsedTime> <d3p1:UsingUserLoginName>sample string 31</d3p1:UsingUserLoginName> <d3p1:LogItems> <d3p1:CouponLogItem> <d3p1:CouponId>sample string 1</d3p1:CouponId> <d3p1:EventDesc>sample string 4</d3p1:EventDesc> <d3p1:EventType>sample string 3</d3p1:EventType> <d3p1:HappenTime>sample string 5</d3p1:HappenTime> <d3p1:LogId>2</d3p1:LogId> <d3p1:UserLoginName>sample string 6</d3p1:UserLoginName> </d3p1:CouponLogItem> <d3p1:CouponLogItem> <d3p1:CouponId>sample string 1</d3p1:CouponId> <d3p1:EventDesc>sample string 4</d3p1:EventDesc> <d3p1:EventType>sample string 3</d3p1:EventType> <d3p1:HappenTime>sample string 5</d3p1:HappenTime> <d3p1:LogId>2</d3p1:LogId> <d3p1:UserLoginName>sample string 6</d3p1:UserLoginName> </d3p1:CouponLogItem> </d3p1:LogItems> <d3p1:ShopItems> <d3p1:CouponShopItem> <d3p1:CouponId>sample string 1</d3p1:CouponId> <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:CouponShopItem> <d3p1:CouponShopItem> <d3p1:CouponId>sample string 1</d3p1:CouponId> <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:CouponShopItem> </d3p1:ShopItems> </d3p1:CouponItem> </records> </tag> </CommonOperationResultWithTagOfSimplePageDataWithNoCountResultOfCouponItemG7pGc9yPrCdCJ3eC>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.