POST api/v2/coupon/list/member/{memberguid}

會員兌換優惠券列表

Request Information

URI Parameters

NameDescriptionTypeAdditional information
memberguid

string

None.

Body Parameters

MemberCouponReqContract
NameDescriptionTypeAdditional information
pageindex

页码

integer

None.

pagesize

每页数量

integer

None.

status

使用狀態 -1: 所有 0:未使用(默認),1:已使用

integer

None.

isactive

-1:所有(默認) 0:已過期 ,1:有效

integer

None.

type

-1:所有(默認)类型(0.机票,1酒店,2.本地团,3.当地享乐)

integer

None.

memberguid

会员Guid

string

None.

Request Formats

application/json, text/json

Sample:
{
  "pageindex": 1,
  "pagesize": 2,
  "status": 3,
  "isactive": 4,
  "type": 5,
  "memberguid": "sample string 6"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'MemberCouponReqContract'.

Response Information

Resource Description

會員兌換優惠券列表

ReturnResultOfPageListOfMemberCouponRspContract
NameDescriptionTypeAdditional information
data

PageListOfMemberCouponRspContract

None.

code

状态码:100成功,其他自定义

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "total_count": 1,
    "page": 2,
    "page_size": 3,
    "data_list": [
      {
        "id": "sample string 1",
        "productcode": "sample string 2",
        "ProductName": "sample string 3",
        "coverpic": "sample string 4",
        "descript": "sample string 5",
        "producttype": 6,
        "integralnum": 7,
        "usetype": 8,
        "couponcode": "sample string 9",
        "expiredate": "2024-12-23T19:51:01.5196731+08:00",
        "status": 11,
        "createtime": "2024-12-23T19:51:01.5196731+08:00",
        "remark": "sample string 13"
      },
      {
        "id": "sample string 1",
        "productcode": "sample string 2",
        "ProductName": "sample string 3",
        "coverpic": "sample string 4",
        "descript": "sample string 5",
        "producttype": 6,
        "integralnum": 7,
        "usetype": 8,
        "couponcode": "sample string 9",
        "expiredate": "2024-12-23T19:51:01.5196731+08:00",
        "status": 11,
        "createtime": "2024-12-23T19:51:01.5196731+08:00",
        "remark": "sample string 13"
      }
    ],
    "page_count": 1
  },
  "code": 1,
  "message": "sample string 2"
}