获取借阅记录(用户级)

简要描述:

  • 此接口用于查询指定用户借阅记录。

请求URL:

  • 沙箱环境 https://api.mall.sandbox.yhsms.com.cn/Mall/Borrow/BorrowService.svc/GetBorrowTradeListU
  • 生产环境 https://api.mall.yhsms.com.cn/Mall/Borrow/BorrowService.svc/GetBorrowTradeListU

请求方式:

  • POST

参数:

参数名 必选 类型 说明
PlatformID string YHDT号
UID string 用户UID
UserAccessToken string 用户级Token
StationID string 站点编号
TradeType string 订单类型
Status string 订单状态
BeginDate string 开始时间
EndDate string 结束时间
PageSize string 页码大小
PageIndex string 页码位置

请求参数示例

{
{
    "PlatformID": "2471A2F641341653DC18E6D2B079DA31",
    "UID": "b8ce473a892641a4b63ecf27aecf3b45",
    "UserAccessToken": "lORFU9TUZ3WThTZTdYbnQ2ajdmQUdmUU9lYjE",
    "Status": "",
    "KeyWord": "",
    "BeginDate": "2000-01-01",
    "EndDate": "3000-01-01",
    "PageSize": 10,
    "TradeType": "TT_LEND",
    "PageIndex": 1,
    "StationID": "333333333"
}
}

返回示例

{
    "Code": "0",
    "Method": 0,
    "Compressed": false,
    "Encrypted": false,
    "Message": [{
        "TradeID": "6658228932149645312",
        "TradeType": "TT_LEND",
        "TotalMoney": 31.8000,
        "PayBonus": 0,
        "Freight": 10.0000,
        "FactMoney": 0.0000,
        "Status": "WAIT_BUYER_PAY",
        "PayStatus": 0,
        "RefundStatus": 0,
        "ExpressName": null,
        "ExpressNO": null,
        "TradeSource": "TS_WX",
        "CreateTime": "2020-04-21T13:04:41.353",
        "ContractCardBatchJson": "",
        "ErpTradeID": null,
        "PostageTempletName": "京东-邮寄",
        "TradeGoods": [{
            "TradeID": "6658228932149645312",
            "GoodsID": "6628590420157145088",
            "GoodsName": "养成教育·经典名著阅读·居里夫人自传",
            "GoodsNumber": 1,
            "ImageUrl": {
                "MallQuery": [{
                    "Type": "Picture",
                    "Url": "http://yh-bj-user.oss-cn-beijing.aliyuncs.com/0/YhinfoPicture/202003/6649565755379802112.jpg",
                    "Sort": 1
                }],
                "MallUrl": [{
                    "Type": "Picture",
                    "Url": "http://yh-bj-user.oss-cn-beijing.aliyuncs.com/0/YhinfoPicture/202003/6649565755379802112.jpg",
                    "Sort": 1
                }],
                "LogoUrl": [{
                    "Type": "Picture",
                    "Url": "http://yh-bj-user.oss-cn-beijing.aliyuncs.com/0/YhinfoPicture/202003/6649565755379802112.jpg",
                    "Sort": 1
                }],
                "DetailUrl": [{
                    "Type": "Picture",
                    "Url": "http://yh-bj-user.oss-cn-beijing.aliyuncs.com/0/YhinfoPicture/202003/6649565755379802112.jpg",
                    "Sort": 1
                }],
                "ThumbUrl": [{
                    "Type": "Picture",
                    "Url": "http://yh-bj-user.oss-cn-beijing.aliyuncs.com/0/YhinfoPicture/202003/6649565755379802112.jpg",
                    "Sort": 1
                }]
            },
            "CreateTime": "2020-04-21T13:04:42.103"
        }]
    }, {
        "TradeID": "6658203411332337664",
        "TradeType": "TT_LEND",
        "TotalMoney": 49.0000,
        "PayBonus": 0,
        "Freight": 10.0000,
        "FactMoney": 0.0000,
        "Status": "WAIT_BUYER_PAY",
        "PayStatus": 0,
        "RefundStatus": 0,
        "ExpressName": null,
        "ExpressNO": null,
        "TradeSource": "TS_WX",
        "CreateTime": "2020-04-21T11:23:16.717",
        "ContractCardBatchJson": "",
        "ErpTradeID": null,
        "PostageTempletName": "京东-邮寄",
        "TradeGoods": [{
            "TradeID": "6658203411332337664",
            "GoodsID": "6628604135266983936",
            "GoodsName": "庆余年3·北海有雾",
            "GoodsNumber": 1,
            "ImageUrl": {
                "ThumbUrl": [{
                    "Type": "Picture",
                    "Sort": 1,
                    "Url": "http://yh-bj-user.oss-cn-beijing.aliyuncs.com/0/YhinfoPicture/202001/6620957331436068864.jpg"
                }],
                "LogoUrl": [{
                    "Type": "Picture",
                    "Sort": 1,
                    "Url": "http://yh-bj-user.oss-cn-beijing.aliyuncs.com/0/YhinfoPicture/202001/6620957331436068864.jpg"
                }],
                "MallUrl": [{
                    "Type": "Picture",
                    "Sort": 1,
                    "Url": "http://yh-bj-user.oss-cn-beijing.aliyuncs.com/0/YhinfoPicture/202001/6620957331436068864.jpg"
                }],
                "MallQuery": [{
                    "Type": "Picture",
                    "Sort": 1,
                    "Url": "http://yh-bj-user.oss-cn-beijing.aliyuncs.com/0/YhinfoPicture/202001/6620957331436068864.jpg"
                }],
                "DetailUrl": [{
                    "Type": "Picture",
                    "Sort": 1,
                    "Url": "http://yh-bj-user.oss-cn-beijing.aliyuncs.com/0/YhinfoPicture/202001/6620957331436068864.jpg"
                }]
            },
            "CreateTime": "2020-04-21T11:23:16.827"
        }]
    }, {
        "TradeID": "6658202302408691712",
        "TradeType": "TT_LEND",
        "TotalMoney": 31.8000,
        "PayBonus": 0,
        "Freight": 10.0000,
        "FactMoney": 0.0000,
        "Status": "WAIT_BUYER_PAY",
        "PayStatus": 0,
        "RefundStatus": 0,
        "ExpressName": null,
        "ExpressNO": null,
        "TradeSource": "TS_WX",
        "CreateTime": "2020-04-21T11:18:52.327",
        "ContractCardBatchJson": "",
        "ErpTradeID": null,
        "PostageTempletName": "京东-邮寄",
        "TradeGoods": [{
            "TradeID": "6658202302408691712",
            "GoodsID": "6628590420157145088",
            "GoodsName": "养成教育·经典名著阅读·居里夫人自传",
            "GoodsNumber": 1,
            "ImageUrl": {
                "MallQuery": [{
                    "Type": "Picture",
                    "Url": "http://yh-bj-user.oss-cn-beijing.aliyuncs.com/0/YhinfoPicture/202003/6649565755379802112.jpg",
                    "Sort": 1
                }],
                "MallUrl": [{
                    "Type": "Picture",
                    "Url": "http://yh-bj-user.oss-cn-beijing.aliyuncs.com/0/YhinfoPicture/202003/6649565755379802112.jpg",
                    "Sort": 1
                }],
                "LogoUrl": [{
                    "Type": "Picture",
                    "Url": "http://yh-bj-user.oss-cn-beijing.aliyuncs.com/0/YhinfoPicture/202003/6649565755379802112.jpg",
                    "Sort": 1
                }],
                "DetailUrl": [{
                    "Type": "Picture",
                    "Url": "http://yh-bj-user.oss-cn-beijing.aliyuncs.com/0/YhinfoPicture/202003/6649565755379802112.jpg",
                    "Sort": 1
                }],
                "ThumbUrl": [{
                    "Type": "Picture",
                    "Url": "http://yh-bj-user.oss-cn-beijing.aliyuncs.com/0/YhinfoPicture/202003/6649565755379802112.jpg",
                    "Sort": 1
                }]
            },
            "CreateTime": "2020-04-21T11:18:52.527"
        }]
    }, {
        "TradeID": "6657101572411248640",
        "TradeType": "TT_LEND",
        "TotalMoney": 49.8000,
        "PayBonus": 0,
        "Freight": 10.0000,
        "FactMoney": 0.0000,
        "Status": "WAIT_SELLER_SEND_GOODS",
        "PayStatus": 2,
        "RefundStatus": 0,
        "ExpressName": null,
        "ExpressNO": null,
        "TradeSource": "TS_WX",
        "CreateTime": "2020-04-18T10:24:57.843",
        "ContractCardBatchJson": "",
        "ErpTradeID": null,
        "PostageTempletName": "京东-邮寄",
        "TradeGoods": [{
            "TradeID": "6657101572411248640",
            "GoodsID": "6628618031323291648",
            "GoodsName": "傅雷家书(新课标版本)",
            "GoodsNumber": 1,
            "ImageUrl": {
                "MallQuery": [{
                    "Type": "Picture",
                    "Url": "http://yh-bj-user.oss-cn-beijing.aliyuncs.com/0/YhinfoPicture/6397788921703735296.jpg",
                    "Sort": 1
                }],
                "MallUrl": [{
                    "Type": "Picture",
                    "Url": "http://yh-bj-user.oss-cn-beijing.aliyuncs.com/0/YhinfoPicture/6397788921703735296.jpg",
                    "Sort": 1
                }],
                "LogoUrl": [{
                    "Type": "Picture",
                    "Url": "http://yh-bj-user.oss-cn-beijing.aliyuncs.com/0/YhinfoPicture/6397788921703735296.jpg",
                    "Sort": 1
                }],
                "DetailUrl": [{
                    "Type": "Picture",
                    "Url": "http://yh-bj-user.oss-cn-beijing.aliyuncs.com/0/YhinfoPicture/6397788921703735296.jpg",
                    "Sort": 1
                }],
                "ThumbUrl": [{
                    "Type": "Picture",
                    "Url": "http://yh-bj-user.oss-cn-beijing.aliyuncs.com/0/YhinfoPicture/6397788921703735296.jpg",
                    "Sort": 1
                }]
            },
            "CreateTime": "2020-04-18T10:24:58.75"
        }]
    }]
}

返回参数说明

参数名 类型 说明
TradeID string 订单号
TradeType string 订单类型
TotalMoney money 订单金额
PayBonus money 支付积分
Freight money 物流费用
FactMoney money 实付金额
Status string 订单状态
PayStatus int 支付状态
RefundStatus int 退款状态
ExpressName string 物流公司名称
ExpressNO string 物流公司编号
TradeSource string 订单来源
CreateTime datetime 创建时间
ErpTradeID string ERP订单号

备注

  • 更多返回错误代码请看首页的错误代码描述
文档更新时间: 2020-05-14 12:10   作者:张国伟