POST api/v1/couponv1/GetUserCouponByPage
Request Information
URI Parameters
None.
Body Parameters
UserCouponParam| Name | Description | Type | Additional information |
|---|---|---|---|
| Type | integer |
None. |
|
| CouponTypeId | integer |
None. |
|
| PageIndex | integer |
None. |
|
| PageSize | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Type": 1,
"CouponTypeId": 2,
"PageIndex": 3,
"PageSize": 4
}
application/xml, text/xml
Sample:
<UserCouponParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SMH.AppApi.Models.v1.Params"> <PageIndex xmlns="http://schemas.datacontract.org/2004/07/DDO.AppApi.Models">3</PageIndex> <PageSize xmlns="http://schemas.datacontract.org/2004/07/DDO.AppApi.Models">4</PageSize> <CouponTypeId>2</CouponTypeId> <Type>1</Type> </UserCouponParam>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PageListOfUserCouponDto| Name | Description | Type | Additional information |
|---|---|---|---|
| PageIndex | integer |
None. |
|
| PageSize | integer |
None. |
|
| TotalPage | integer |
None. |
|
| TotalCount | integer |
None. |
|
| Items | Collection of UserCouponDto |
None. |
Response Formats
application/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/json
Sample:
{
"PageIndex": 1,
"PageSize": 2,
"TotalPage": 3,
"TotalCount": 4,
"Items": [
{
"Id": 1,
"Activity_id": 2,
"Coupon_Name": "sample string 3",
"Coupon_amount": 4.0,
"Overdue_time": "2025-12-06T04:32:19.4306154+00:00",
"Overdue_timeStam": 6,
"Used_time": "2025-12-06T04:32:19.4306154+00:00",
"Used_timeStam": 8,
"Product_id": 9,
"Coupon_type_id": 10,
"Remark": "sample string 11"
},
{
"Id": 1,
"Activity_id": 2,
"Coupon_Name": "sample string 3",
"Coupon_amount": 4.0,
"Overdue_time": "2025-12-06T04:32:19.4306154+00:00",
"Overdue_timeStam": 6,
"Used_time": "2025-12-06T04:32:19.4306154+00:00",
"Used_timeStam": 8,
"Product_id": 9,
"Coupon_type_id": 10,
"Remark": "sample string 11"
}
]
}
text/xml
Sample:
<PageListOfUserCouponDtolI_S1G0f4 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Smart.Infrastructure.Collections">
<Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/Smart.Domain.Dto.Activity.SMH">
<d2p1:UserCouponDto>
<d2p1:Activity_id>2</d2p1:Activity_id>
<d2p1:Coupon_Name>sample string 3</d2p1:Coupon_Name>
<d2p1:Coupon_amount>4</d2p1:Coupon_amount>
<d2p1:Coupon_type_id>10</d2p1:Coupon_type_id>
<d2p1:Id>1</d2p1:Id>
<d2p1:Overdue_time>2025-12-06T04:32:19.4306154+00:00</d2p1:Overdue_time>
<d2p1:Overdue_timeStam>6</d2p1:Overdue_timeStam>
<d2p1:Product_id>9</d2p1:Product_id>
<d2p1:Remark>sample string 11</d2p1:Remark>
<d2p1:Used_time>2025-12-06T04:32:19.4306154+00:00</d2p1:Used_time>
<d2p1:Used_timeStam>8</d2p1:Used_timeStam>
</d2p1:UserCouponDto>
<d2p1:UserCouponDto>
<d2p1:Activity_id>2</d2p1:Activity_id>
<d2p1:Coupon_Name>sample string 3</d2p1:Coupon_Name>
<d2p1:Coupon_amount>4</d2p1:Coupon_amount>
<d2p1:Coupon_type_id>10</d2p1:Coupon_type_id>
<d2p1:Id>1</d2p1:Id>
<d2p1:Overdue_time>2025-12-06T04:32:19.4306154+00:00</d2p1:Overdue_time>
<d2p1:Overdue_timeStam>6</d2p1:Overdue_timeStam>
<d2p1:Product_id>9</d2p1:Product_id>
<d2p1:Remark>sample string 11</d2p1:Remark>
<d2p1:Used_time>2025-12-06T04:32:19.4306154+00:00</d2p1:Used_time>
<d2p1:Used_timeStam>8</d2p1:Used_timeStam>
</d2p1:UserCouponDto>
</Items>
<PageIndex>1</PageIndex>
<PageSize>2</PageSize>
<TotalCount>4</TotalCount>
<TotalPage>3</TotalPage>
</PageListOfUserCouponDtolI_S1G0f4>