获取挂单产品

请求地址(POST)
https://app.jiujiuke.net/api/JJkInterface/GetCancelledGoods?interfacekey=[InterfaceKey]&signature=[Signature]&timestamp=[TimeStamp]
字段 说明
InterfaceKey 接口密钥
Signature 字符串=(InterfaceKey+SignToken+TimeStamp+data),再将字符串中的字符按照升序排列,最终签名 = MD5(字符串),格式:32位MD5大写加密
TimeStamp 发起请求的时间戳,查看标准TimeStamp
请求说明
data={"BillCode":"XF2017082811415644","CompCode":"lucksoft"}
字段 是否必须 说明
BillCode 订单编号
CompCode 企业代码
返回说明
成功时返回:
{"status":1,"msg":"00","total":1,"obj":null,"rows":[{"BatchCode":"CN2017082900003","CardID":"80246","CardName":"鲁BK06Q1","CompID":1001,"CreateTime":"2017-08-29 10:48:14","DiscountPrice":32.0,"EndTime":"","GoodsClass":"13356651136155650","GoodsClassName":"美容类","GoodsCode":"90061063","GoodsID":"13356651250139136","GoodsName":"洗面奶","GoodsType":1,"IsPoint":1,"MasterID":"13157138235293706","MemID":"13356650932436997","Number":2.0,"OrderCode":"XF2017082900003","Point":6.4,"PointPercent":0.0,"PriceNum":0,"PriceUnit":0,"Profit":0.0,"PurchasePrice":0.0,"RefundableQty":2.0,"ShopID":"13157138234785792","Staff":"[]","StartTime":"","TotalMoney":64.0,"StockNum":200.0,"UnitPrice":35.0}],"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,成功;其它,失败)