产品交易记录

请求地址(POST)
https://app.jiujiuke.net/api/JJkInterface/GetDetailListByTransaction?interfacekey=[InterfaceKey]&signature=[Signature]&timestamp=[TimeStamp]
字段 说明
InterfaceKey 接口密钥
Signature 字符串=(InterfaceKey+SignToken+TimeStamp+data),再将字符串中的字符按照升序排列,最终签名 = MD5(字符串),格式:32位MD5大写加密
TimeStamp 发起请求的时间戳,查看标准TimeStamp
请求说明
data={"PageIndex":"1","PageSize":"20","GoodsId":"13356651250139136","CompCode":"ceshi"}
字段 是否必须 说明
PageIndex 当前页数(若为空默认第一页)
PageSize 每一页多少条数据(若为空默认一页20条数据)
GoodsId 产品自动编号
CompCode 企业代码
返回说明
成功时返回:
{"status":1,"msg":"00","total":1,"obj":null,"rows":[{"Id":"13370768359735296","OrderCode":"XF2017082900003","GoodsType":1,"BatchCode":"CN2017082900003","GoodsID":"13356651250139136","GoodsCode":"90061063","GoodsName":"洗面奶","PurchasePrice":0.0,"DiscountPrice":32.0,"StartTime":"","EndTime":"","PriceUnit":0,"PriceNum":0,"Number":2.0,"RefundableQty":2.0,"TotalMoney":64.0,"IsPoint":1,"PointPercent":0.0,"Point":6.4,"Profit":0.0,"CompID":1001,"ShopID":"13157138234785792","MasterID":"13157138235293706","Staff":"[]","MemID":"13356650932436997","CardID":"80246","CardName":"鲁BK06Q1","CreateTime":"2017-08-29 10:48:14","GoodsClass":"13356651136155650","GoodsClassName":"美容类","OnlineUserKey":null}],"rowData":null}
字段 说明
BatchCode 批次号
CardID 会员卡号
CardName 会员名称
DiscountPrice 折后单价
EndTime 计时产品结束时间
GoodsClass 产品类别编号
GoodsClassName 产品类别名称
GoodsType 产品属性(0-所有 1-普通 2-服务 3-计时),默认0
IsPoint 是否积分,1是 0否
MasterID 操作员编号
Number 购买数量,普通商品,则记录数量 计时商品,则记录时间(单位秒)
OrderCode 订单号
Point 积分数量
PointPercent 积分比例 0:表示按会员等级中折扣卡的折扣 非零:固定积分
UnitPrice 零售价
TotalMoney 产品总费用
失败时返回:
{"status":0,"message":"99"}
字段 是否必须 说明
status 状态(1,成功;其它,失败)
message 错误码(00,成功;其它,失败)