微信卡券记录 Wechat Coupon Record


公共参数名称 公共参数值
method fzapi.crm.GetWechatCouponRecord
content 请求参数集合,详见下面请求参数说明

请求参数说明

参数 类型 是否必填 最大长度 描述 示例值
vipcode String 20 会员号(会员号和手机号必须填一个)
telephone String 20 手机号(会员号和手机号必须填一个)
card_type String 20 券类型(CASH:代金券,DISCOUNT:折扣券,GIFT:兑换券,PARKING:停车券,PARKING_HOUR:时长停车券) CASH
isused String 1 是否使用(0:未使用,1:已使用) 1

返回字段说明

参数 描述
vipcode 会员号
vipgrade 会员等级
isused 是否使用
wxopenid 微信openid
giftcertlistno 卡券列表编号
giftcertno 卡券号
giftcert_name 卡券名称
giftcert_amount 卡券金额
giftcert_status 卡券状态
gotdate 获得日期
activity_no 活动号
effectivedate 生效日期
expirydate 失效日期
deductionhours 抵扣小时

响应数据说明

参数 类型 是否必填 最大长度 描述 示例值
success bool 返回成功 true
code String 返回代码 1000
msg String 返回描述 Success
data String 返回信息

响应数据示例:


{
    "success":true,
    "code":"1000",
    "msg":"Success",
    "data":[
        {
            "vipcode":"101000018827",
            "vipgrade":"C1",
            "isused":"1",
            "wxopenid":"oSpjH5UmuN9ZKjmHFADhuh0s5DGk",
            "giftcertlistno":"KQ0000000025",
            "giftcertno":"9115713742685901",
            "giftcert_name":"9积分抽奖",
            "giftcert_amount":0,
            "giftcert_status":"40",
            "gotdate":"2019-10-18",
            "activity_no":"FZ_WX",
            "effectivedate":"2019-10-18",
            "expirydate":"2019-11-14",
            "deductionhours":"5"
        },
        {
            "vipcode":"101000018827",
            "vipgrade":"C1",
            "isused":"1",
            "wxopenid":"oSpjH5UmuN9ZKjmHFADhuh0s5DGk",
            "giftcertlistno":"KQ0000000025",
            "giftcertno":"9115713742685902",
            "giftcert_name":"索尼 导入发券",
            "giftcert_amount":10,
            "giftcert_status":"30",
            "gotdate":"2019-10-18",
            "activity_no":"FZ_WX",
            "effectivedate":"2019-10-18",
            "expirydate":"2019-11-14",
            "deductionhours":"2"
        }
    ]
}

results matching ""

    No results matching ""