查询ERP指定级别信息
简要描述:
- 此接口用于查询线下ERP中的指定级别信息,可支持会员级别、借阅级别。
请求URL:
- 沙箱环境
https://api.mall.sandbox.yhsms.com.cn/Mall/Borrow/BorrowService.svc/GetErpBorrowLevelList - 生产环境
https://api.mall.yhsms.com.cn/Mall/Borrow/BorrowService.svc/GetErpBorrowLevelList
请求方式:
- GET
参数:
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| PlatformID | 是 | string | YHDT号 |
| StationID | 是 | string | 站点编号 |
| GoodsID | 是 | string | 级别对照商品编号 |
返回示例
{
"Code": "0",
"Method": 0,
"Compressed": false,
"Encrypted": false,
"Message": {
"DataSet": {
"Table": [
{
"jy_class_id": "13",
"jy_class_name": "三无读书礼遇季卡",
"valid_months": 3,
"card_cost": 0,
"limit_num": 2,
"limit_money": 1000,
"jy_days": 90,
"bk_deposit": 60,
"continue_time": 1,
"fine_perday": 0,
"find_kind": "0",
"card_kind": "0",
"press_num": 0,
"hire_discount": 1,
"fine_discount": 1,
"current_limit_num": 2,
"current_limit_money": 1000,
"h_id": "CL59C02232A756424A99",
"h_name": "三无读书礼遇季卡",
"goodsid": "6673871508282421248"
}
]
},
"Code": "0"
}
}返回参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| Message | string | ERP级别JSON数组 |
| jy_class_id | string | 级别编号 |
| jy_class_name | string | 级别名称 |
| valid_months | int | 有效期(月) |
| card_cost | money | 办卡费用 |
| limit_num | int | 最大可借数量 |
| limit_money | money | 最大可借金额数 |
| jy_days | int | 最大借期(天) |
| bk_deposit | money | 押金 |
| continue_time | int | 允许续借次数 |
备注
- 更多返回错误代码请看首页的错误代码描述
文档更新时间: 2020-06-03 17:41 作者:张国伟