微信卡券核销记录 Wechat Coupon Write Off Record
公共参数名称 |
公共参数值 |
method |
fzapi.crm.GetWechatCouponWriteOffRecord |
content |
请求参数集合,详见下面请求参数说明 |
请求参数说明
参数 |
类型 |
是否必填 |
最大长度 |
描述 |
示例值 |
vipcode |
String |
否 |
20 |
会员号(会员号和手机号必须填一个) |
|
telephone |
String |
否 |
20 |
手机号(会员号和手机号必须填一个) |
|
card_type |
String |
否 |
20 |
券类型(CASH:代金券,DISCOUNT:折扣券,GIFT:兑换券,PARKING:停车券) |
CASH |
giftcertlistno |
String |
否 |
30 |
卡券列表编号 |
|
giftcertno |
String |
否 |
60 |
卡券号 |
|
useddocno |
String |
否 |
30 |
使用单号 |
|
useddate |
String |
否 |
20 |
使用日期 |
2019-01-01 |
参数 |
描述 |
vipcode |
会员号 |
wxopenid |
微信openid |
giftcertlistno |
卡券列表编号 |
giftcertno |
卡券号 |
giftcert_name |
卡券名称 |
giftcert_amount |
卡券金额 |
activity_no |
活动号 |
useddate |
使用日期 |
usedtime |
使用时间 |
usedmallid |
使用商场 |
usedstorecode |
使用店铺号 |
usedtillid |
使用收银机号 |
useddocno |
使用单号 |
tradedate |
交易日期 |
tradestore |
交易店铺 |
tradedocno |
交易单号 |
sourcetype |
来源 |
orderno |
单号 |
tradeamount |
交易金额 |
discount |
折扣比率 |
响应数据说明
参数 |
类型 |
是否必填 |
最大长度 |
描述 |
示例值 |
success |
bool |
|
|
返回成功 |
true |
code |
String |
|
|
返回代码 |
1000 |
msg |
String |
|
|
返回描述 |
Success |
data |
String |
|
|
返回信息 |
响应数据示例:
{
"success":true,
"code":"1000",
"msg":"Success",
"data":[
{
"vipcode":"101000018827",
"wxopenid":"oSpjH5UmuN9ZKjmHFADhuh0s5DGk",
"giftcertlistno":"KQ0000000025",
"giftcertno":"9115713742685901",
"giftcert_name":"9积分抽奖",
"giftcert_amount":0,
"activity_no":"FZ_WX",
"useddate":"2019-10-18T00:00:00",
"usedtime":"125135",
"usedmallid":"80005",
"usedstorecode":"80005L180176",
"usedtillid":"01",
"useddocno":"GC1910181251357599",
"tradedate":null,
"tradestore":null,
"tradedocno":null,
"sourcetype":"01",
"orderno":"DF8000500000000000443",
"tradeamount":1,
"discount":0
},
{
"vipcode":"101000018827",
"wxopenid":"oSpjH5UmuN9ZKjmHFADhuh0s5DGk",
"giftcertlistno":"KQ0000000025",
"giftcertno":"9115713742685902",
"giftcert_name":"索尼 导入发券",
"giftcert_amount":10,
"activity_no":"FZ_WX",
"useddate":"2019-10-18T00:00:00",
"usedtime":"125135",
"usedmallid":"80005",
"usedstorecode":"80005L180176",
"usedtillid":"01",
"useddocno":"GC1910181251357599",
"tradedate":null,
"tradestore":null,
"tradedocno":null,
"sourcetype":"01",
"orderno":"DF8000500000000000443",
"tradeamount":1,
"discount":0
}
]
}