开放平台

获取所有会员在工号查看店面范围内的储值记录,也可根据筛选条件获取部分储值记录

请求地址(POST)

https://openapi.1card1.cn/OpenApi/Get_AllValueNotePagedV2?openId=[OpenId]&signature=[Signature]&timestamp=[TimeStamp]

字段 说明
OpenId 登陆开放平台生成的OpenId
Signature 签名=md5(OpenId+Secret+Timestamp+data),格式:32位md5大写加密
TimeStamp 发起请求的时间戳,查看标准timestamp

请求说明

data={"userAccount":"10002","where":"", "pageIndex":0,"pageSize":10,"orderBy":" OperateTime desc "}

字段 是否必须 说明
userAccount 工号
where 查询条件
pageIndex 页码
pageSize 页大小
orderBy 排序规则

返回说明

成功时返回:

{ "status":0, "total":2, "data":[ { "Guid":"0f3d7bdf-13db-11e9-917f-0010184dbd22", "MemberGuid":"0f3d7bdf-13db-11e9-917f-0010184dbd22", "CardId":"aa1103", "TrueName":"小李", "Mobile":"13632651195", "BillNumber":"XF20140912000003", "PaidMoney":500.0000, "Value": 1000.0000, "Type":2, "Way":, "UserAccount": "10000", "StoreName": "总店", "OperateTime": "2014-06-14 13:56:30.403", "Meno":"熟客消费", "IsUndo": "False", "PaidCash":500.0000, "PaidCard":0, "PaidOther":0, "OtherPayType":"", "PaidThirdpay":0, "ThirdpayType":0 }, { "Guid":"1492ba40-196d-11e9-917f-0010184dbd22", "MemberGuid":"0f3d7bdf-13db-11e9-917f-0010184dbd22", "CardId":"aa1103", "TrueName":"小李", "Mobile":"13632651195", "BillNumber":"CZ20140912000006", "PaidMoney":10.0000, "Value": 10.0000, "Type":1, "Way":, "UserAccount": "10003", "StoreName": "分店", "OperateTime": "2014-06-25 17:24:14.253", "Meno":"熟客消费", "IsUndo": "True", "PaidCash":0, "PaidCard":0, "PaidOther":0, "OtherPayType":"", "PaidThirdpay":10.0000, "ThirdpayType":2 } ] }

字段 是否必须 说明
Guid 记录唯一标识
CardId 会员卡号
MemberGuid 会员唯一标识
TrueName 会员姓名
Mobile 会员手机号
BillNumber 单据号
PaidMoney 实付金额
Value 储值
Type 类型(1,充值;2,消费)
Way 途径(1,初始储值;2,会员充值;3,赠送储值;4,积分兑换储值;5,充值返赠;6,储值转入;-1,消费收银;-2,储值扣费;-3,增加计次;-4,储值清零;-5,管理费扣除;-6,储值转出)
UserAccount 操作工号
StoreName 操作店面
OperateTime 操作时间
Meno 备注
IsUndo 是否撤销
PaidCash 现金支付
PaidCard 银行卡记账
PaidOther 其他支付
OtherPayType 其他支付类型(PaidOther不为0时有效)
PaidThirdpay 第三方支付
ThirdpayType 第三方支付类型(PaidThirdpay不为0时生效,0表示支付宝支付,2表示微信支付)

失败时返回:

{"status":-1,"message":"查询失败及原因"}

字段 是否必须 说明
status 状态(0,成功;-1,失败)
message 查询失败及原因

获取所有储值记录 调试