Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
基准URL: /smartfin/api/v1/entity_credit_matrix
获取额度矩阵
...
POST /smartfin/api/v1/entity_credit_matrix/select
...
| ||
返回
|
...
Code Block |
---|
trade_dirc, pricing_method, sett_method, - array[integer] biz_type - array[integer] |
参数以整数数组( array )形式存在,或者如果参数为空,则将解析为 null。
请参考
dropdown_list
中相应列表的名称获取相对正确的整数。trade_dirc
- 业务方向pricing_method
- 定价方式sett_method
- 结算方式biz_type
- 申请业务类型
Code Block |
---|
min_margin_ratio, ecm_credit_amt, dept_credit_amt,ecm_creditauth_termqty, dept ecm_creditauth_amt, dept_auth_qty, auth_amtamt - float ecm_credit_term - integer measure_unit - string |
min_margin_ratio
- 最低保证金比例(%)ecm_credit_amt
- 授信金额 ( 折人民币万元)ecm_credit_term
- 信用期限(自然日)dept_credit_amt
- 单一部门授信金额(折人民币万元)ecm_auth_qty
- 授权数量ecm_auth_amt
- 授权金额(折人民币万元)未了结合同金额(折人民币万元)measure_unit
- 计量单位dept_auth_amt
- 单一部门未了结合同金额(折人民币万元)
Code Block |
---|
entity_id - integer dept - string trade_cat - array[string] ecm_id - integer |
...
trade_cat
- 交易品种, 参数以字符串数组形式存在,或者如果参数为空,则将解析为 null。dept
- 申请部门
更新 / 输入额度矩阵
...
更新URL:
POST/smartfin/api/v1/entity_credit_matrix/update
输入URL:
POST/smartfin/api/v1/entity_credit_matrix/insert
...
JSON 主体:
|
请求载荷 ( 输入 )
例子:
JSON 主体:
|
请求架构
...
Code Block |
---|
return_full - boolean |
...
包含与
list
于 https://mafint.atlassian.net/wiki/spaces/MAD/pages/2156298244#%E5%93%8D%E5%BA%94 相同的参数 (请参考上述 https://mafint.atlassian.net/wiki/spaces/MAD/pages/2156298244#%E8%AF%B7%E6%B1%82%E8%BD%BD%E8%8D%B7-%EF%BC%88-%E6%9B%B4%E6%96%B0-%EF%BC%89 请求主体中需要包含的必需参数 )包含要更新到数据库中的现有额度。
Code Block |
---|
dropdown - boolean |
决定是否在响应里返回
dropdown_list
(MAF界面使用的下拉选项)
响应:
与 https://mafint.atlassian.net/wiki/spaces/MAD/pages/2156298244#%E5%93%8D%E5%BA%94 ( 请参考每个参数的定义 ) 的响应主体相同。
删除额度矩阵
...
DELETE/smartfin/api/v1/
...
entity_credit_matrix/delete
根据其 ecm_id
删除单个/多个额度。
验证 / 授权
...
JSON 主体:
|
Code Block |
---|
del_ids - array[integer] |
包含用户删除的独立
ecm_id
的数组。
Code Block |
---|
dropdown - boolean |
决定是否在响应里返回
dropdown_list
(MAF界面使用的下拉选项)
响应:
与 https://mafint.atlassian.net/wiki/spaces/MAD/pages/2156298244#%E5%93%8D%E5%BA%94 ( 请参考每个参数的定义 ) 的响应主体相同。