获取消费单据

请求地址(POST)
https://app.jiujiuke.net/api/JJkInterface/GetConsumerList?interfacekey=[InterfaceKey]&signature=[Signature]&timestamp=[TimeStamp]
字段 说明
InterfaceKey 接口密钥
Signature 字符串=(InterfaceKey+SignToken+TimeStamp+data),再将字符串中的字符按照升序排列,最终签名 = MD5(字符串),格式:32位MD5大写加密
TimeStamp 发起请求的时间戳,查看标准TimeStamp
请求说明
data={"CardID":"666666","BillCode":"10303198609081012","OrderType":"2","IsResting":"0","HandCode":"12345","MasterAccount":"admin","CompCode":"lucksoft"}
字段 是否必须 说明
CardID 会员卡号或者会员名称,默认为空
BillCode 订单号,默认为空
OrderType 消费类型,0-所有 1-快速消费 2-商品消费 3-退货
IsResting 是否挂单,0-处于挂单状态 1-正常消费订单
HandCode 手牌号
MasterAccount 操纵员帐号,例admin
CompCode 企业代码
返回说明
成功时返回:
{"status":1,"msg":"00","total":1,"obj":null,"rows":[{"Id":"13370768357425152","BillCode":"XF2017082900003","IsResting":0,"OrderType":2,"HandCode":"15305327345","MemID":"13356650932436997","CardID":"80246","CardName":"鲁BK06Q1","GoodsNum":2,"TotalNum":2.0,"TotalMoney":64.0,"DiscountMoney":64.0,"TotalPoint":6.4,"PayMoney":0.0,"PayCash":0.0,"PayUnion":0.0,"PayPoint":0.0,"PayPointNum":0.0,"Profit":0.0,"PurchasePrice":0.0,"Remark":"","CreateTime":"2017-08-29 10:48:14","ActivityID":"","RevokeState":0,"RevokeMaserID":"","RevokeTime":"","RevokeRemark":"","CompID":1001,"ShopID":"13157138234785792","MasterID":"13157138235293706","FatherBillCode":"","PayType":"","PayOther":0.0,"FlowNo":"","VolumeMoney":0.0,"Sex":0,"MasterName":"","CompName":"测试","ShopName":"总店","Staff":null,"OnlineUserKey":null,"orderData":null,"orderTimeData":null,"Volumeids":null,"staffId":null,"isSMSSend":0}],"rowData":null}
字段 说明
BillCode 订单号
IsResting 是否挂单 0、处于挂单状态 1、正常消费订单
OrderType 消费类型
HandCode 手牌号
MemID 会员ID
CardID 会员卡号
GoodsNum 产品种数
TotalNum 产品总量
TotalMoney 消费原价
DiscountMoney 折后金额
TotalPoint 获得积分总量
Profit 订单号
Point 整单利润
PurchasePrice 成本
Remark 消费备注
ActivityID 优惠活动id
失败时返回:
{"status":0,"message":"99"}
字段 是否必须 说明
status 状态(1,成功;其它,失败)
message 错误码(00,成功;其它,失败)