文档
测试

儿童会员卡-查询集点消费记录

POST
http://crm.houcaller.com/htest/openapi/v1/listRecordPunch

接口描述

获取儿童会员俱乐部首页轮播提示框的显示内容

请求头

参数名
类型
描述
必填
Content-Type
String
application/json
必填

请求参数

参数名
类型
描述
必填
channel
string
渠道名
必填
timestamp
string
时间戳
必填
param
string
参数(对json字符串进行DES加密)
必填
memberId
string
会员ID
必填
queryYear
srting
查询年(不填默认查询当年)
可选

响应参数

参数名
类型
描述
必填
msg
string
响应说明
必填
code
number
响应code
必填
data
object
响应参数
必填
record
array
集点记录
必填
busiChannel
string
业务渠道
必填
busiContent
string
记录说明
必填
busiSerial
string
唯一业务流水号
必填
busiTime
string
记录时间
必填
busiType
string
业务类别
必填
punchBal
number
集点数余额
必填
punchExp
number
消费集点数
必填
punchInc
number
收益集点数
必填
queryYear
string
查询年
必填
scoMemberId
string
会员ID
必填

说明 / 示例

请求示例: ``` { "param": "0110E3D484CBE01E6BFAD1DEE1188706B817FDC67900E6B11C08602CD4DB78442132339F84882C912E0B6029F161CBD4", "channel": "hkl-test", "timestamp": "1584947039774" } ``` param明文示例: ``` { "queryYear": "2019", "memberId": "I44E2MBRA0615" } ``` 响应示例: ``` { "msg": "操作成功", "code": 0, "data": { "record": [ { "busiChannel": "tds", "busiContent": "餐厅消费记录打卡次数", "busiSerial": "20190428000000000001", "busiTime": "2019-04-28 09:16:20", "busiType": "1", "checkFlag": 0, "childItemId": "", "childMemberId": "", "id": "5cc4fee02f20721df04159c3", "inputDate": "2019-04-28 09:15:19", "lockVersion": 0, "modifyDate": null, "modifyType": "1", "orgCode": "1", "oriId": "", "punchBal": 6, "punchExp": 0, "punchInc": 2, "queryYear": "", "remark": "", "scoMemberId": "I44E2MBRA0615", "srcId": "srcId" }, { "busiChannel": "tds", "busiContent": "餐厅消费记录打卡次数", "busiSerial": "20190426000000000002", "busiTime": "2019-04-26 17:12:55", "busiType": "1", "checkFlag": 0, "childItemId": "", "childMemberId": "", "id": "5cc2cb972f20721808a5dc62", "inputDate": "2019-04-26 17:12:05", "lockVersion": 0, "modifyDate": null, "modifyType": "1", "orgCode": "1", "oriId": "", "punchBal": 4, "punchExp": 0, "punchInc": 2, "queryYear": "", "remark": "", "scoMemberId": "I44E2MBRA0615", "srcId": "srcId" }, { "busiChannel": "tds", "busiContent": "餐厅消费记录打卡次数", "busiSerial": "20190426000000000001", "busiTime": "2019-04-26 16:54:31", "busiType": "1", "checkFlag": 0, "childItemId": "", "childMemberId": "", "id": "5cc2c7452f2072424403eaf0", "inputDate": "2019-04-26 16:54:33", "lockVersion": 0, "modifyDate": null, "modifyType": "1", "orgCode": "1", "oriId": "", "punchBal": 0, "punchExp": 0, "punchInc": 2, "queryYear": "", "remark": "", "scoMemberId": "I44E2MBRA0615", "srcId": "srcId" } ] } } ```