GET api/Coupon/GetCouponHistoryByUserId?UserId={UserId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
UserId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CouponHistoryName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
UserId | integer |
None. |
|
OrderId | string |
None. |
|
CouponId | integer |
None. |
|
CouponCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "$id": "1", "Id": 1, "UserId": 2, "OrderId": "sample string 3", "CouponId": 4, "CouponCount": 5 }, { "$ref": "1" } ]
application/octet-stream
Sample:
[{"$id":"1","Id":1,"UserId":2,"OrderId":"sample string 3","CouponId":4,"CouponCount":5},{"$ref":"1"}]