接口说明
退款单号查询分销订单
佣金状态:0,已撤销,10,待入账,20,已入账
请求说明
HTTP请求方式:POST
返回数据格式:JSON
请求路径:api/mfx/getfxorderbyorderinfo
字段 | 类型 | 为空 | 长度 | 描述 |
---|---|---|---|---|
SearchOrderType | int | 否 | 单据类型 0:订单 1退款单 2 退货单 | |
OrderCode | string | 是 | 订单 | |
ReturnCode | string | 是 | 退货单 | |
RefundCode | string | 是 | 退款单 |
请求参数示例代码(json对象)
{"SearchOrderType":"0","OrderCode":"E042954614620110350027","ReturnCode":"","RefundCode":""}
返回数据
字段 | 类型 | 描述 |
---|---|---|
Id | long | 分销主键 |
OrderId | long | 订单id |
IsPayed | bool | 是否支付 |
OrderCode | string | 订单code |
OrderPayTime | string | 支付时间 |
AddTime | string | 下单时间 |
CommissionStatus | string | 佣金状态 |
RefundId | long | 退款单id |
RefundNo | string | 退款单code |
ReturnId | long | 退货单id |
ReturnNo | string | 退货单code |
CreateDate | string | 创建时间 |
LastModifiedDate | string | 最后修改时间 |
Dtls | List<Dtls> | 详情 |
Dtls
字段 | 类型 | 描述 |
---|---|---|
OcId | long | 分销订单id |
OrderDtlId | long | 商品编码 |
ItemId | long | 货号id |
ItemName | string | 货号名称 |
ItemNo | string | 货号code |
BarId | long | 条码id |
BarCode | string | 条码code |
Quantity | int | 数量 |
SalePrice | decimal | 售价 |
RealPayAmount | decimal | 实际支付 |
Commission | decimal | 佣金 |
RealAmountNoCommssion | decimal |
返回参数
{
"Sign": "4BF41F5C67FFAEDFAFCD2A16985B5E651A5407AC",
"Result": {
"Id": 0,
"OrderId": 72668,
"OrderCode": "E042954614620110350027",
"IsPayed": true,
"OrderPayTime": "2020-10-31 12:22:33",
"AddTime": "2020-10-31 12:22:30",
"CommissionStatus": 10,
"RefundId": 0,
"RefundNo": null,
"ReturnId": 0,
"ReturnNo": null,
"CreateDate": "2020-10-31 12:22:40",
"LastModifiedDate": "2020-10-31 12:22:40",
"Dtls": [{
"OcId": 60901,
"OrderDtlId": 73049,
"ItemId": 98110,
"ItemName": "wap商品",
"ItemNo": "wap",
"BarId": 99888,
"BarCode": "wap1",
"Quantity": 2,
"SalePrice": 0.01,
"RealPayAmount": 0.02,
"Commission": 0.01,
"RealAmountNoCommssion": 0.01
}]
},
"Status": true,
"StatusCode": 200,
"Msg": "成功",
"Timestamp": "20201103163351"
}