根据条件获取领奖信息
请求URL:
https://openapi.weixin12315.com/
/api/sign/md.scan.scancodeaward/v1/ GetAwardRecord
请求方式:
POST
请求示例:
{ "CodeType":[7], "PageIndex":1, "PageSize":1000, "StartTime":"2021-01-01" }
请求参数说明:
参数名 | 必选 | 说明 |
---|---|---|
CodeType | 是 | 码类型 0:防伪码(默认为0) 1:箱码 ;2:包裹码;3:防伪码V4.0;4:微商码7:导购码;11:动销码 |
PageIndex | 是 | 页码 |
PageSize | 是 | 页数 |
StartTime | 否 | 起始时间 |
EndTime | 否 | 结束时间 |
OpenId | 否 | 微信openId |
返回示例
{ "return_code": "0", "return_msg": "ok!", "return_data": { "rowcount": 1, "datalist": [ { "id": 188801, "recordid": 101026779, "activityid": 27880, "activitytitle": "哈哈哈哈111", "memberlogin": "10000000", "openid": "oanFW0X0FGqRmd2xvF-AjD_YZjqU", "nickname": "中年心事浓如酒", "imgpath": "https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTKQuaDVYz2jWAYzNxlhQqJdaibAVbF2LrfT1LurvA1bX2K6U0TcLlyykpVccmrGP3egjOhePibib6gSg/132", "code": "03o14524wt2ijd4f", "ip": "113.96.231.120", "area": "广东,深圳", "iswinning": 1, "prizename": "一等奖", "hbmoney": 0.0, "hbsendresult": "", "hbremark": "", "point": 0, "volumeid": 120403, "parvalue": 0.0, "addtime": "2021-09-30 16:33:21", "productid": 0, "isgetproduct": false, "orderid": 0, "type": 0, "multipurposecodetype": -1, "hblogsid": 0, "hbid": 0, "mobilemoneyresult": 0, "mobilepriceid": 0, "mobiledataresult": 0, "mobiledatarangeid": 0, "mobiledepositlogid": 0, "mobiledatalogid": 0, "mobilepricecode": 0, "mobiledatacode": 0, "saomaactivityprizeid": 39695, "mobiledatapriceid": 0, "userarea": "", "isfirst": 1, "fristawardrecordid": 0, "sourcetype": 0, "qrcodeimg": "", "volumeremark": "", "volumestatus": 1, "volumevalue": 0, "relationcode": "", "relationserialnumber": "", "usertagsids": null, "hbtype": 0, "lasttimestamp": "AAAAAAABoyU=", "wxarea": "", "scanserialnumber": "00916753", "scancodesegment": "2787", "scancodebatch": "071", "scanmdsalername": "", "scanmdsalermobileno": "", "scanfcdealerid": 16035, "scanfcdealername": "佳佳乐", "scanfcdealerno": "wangzhong01", "scanproname": "测试眼镜", "scanpronumber": "xxyy", "volumetype": 2, "volumetitle": "测试11", "sharedcusid": 0, "sharedopenid": "", "shareorrebateprizeid": 0, "sharedcount": 0, "isneedautosendfailedhb": 0, "producttype": 0, "isvirtual": 0, "productremark": "", "modifytime": "2021-09-30 16:33:22", "mdsalergroupname": "", "productsendresult": 0, "drawtype": 0, "drawactid": "", "drawnum": 0, "drawsendresult": 0, "drawremark": "", "lmkqorderno": null, "strategyid": 0, "strategyprizeid": 0, "memberhashcode": 66, "storeid": 0, "scanproductid": 259808, "storageno": "", "storagetime": "2021-09-30 16:33:21", "scanproductformatid": 0, "scanproductformatname": "", "pointsendresult": 0, "ShopVouID": 277, "pointremark": null, "fcstoreid": 0, "fcstoreno": "", "fcstorename": "", "productcontent": null, "MdSalerStoreId": 0, "MdSalerStoreName": "", "HBSentTime": null } ] } } }
返回参数说明
参数名 | 类型 | 说明 |
---|---|---|
return_code | int | 返回状态 |
return_msg | string | 返回消息 |
return_data | bool | 是否存在 |
id | int | 中奖id |
recordid | String | 扫码记录id |
activityid | decimal | 活动id |
activitytitle | decimal | 活动主题 |
memberlogin | int | 品牌商 |
openid | String | 微信openid |
nickname | String | 微信昵称 |
imgpath | String | 头像 |
code | String | 码 |
ip | String | 领奖ip |
area | String | 领奖地址 |
hbmoney | decimal | 红包金额(元) |
Iswinning | int | 1为中奖,0为未中奖 |