Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel2
outlinefalse
typelist
printablefalse

...

基准URL: /smartfin/api/v1/entity_credit_matrix


获取额度矩阵

...

POST /smartfin/api/v1/entity_credit_matrix/select

...

  • trade_cat - 交易品种, 参数以字符串数组形式存在,或者如果参数为空,则将解析为 null。

  • dept- 申请部门


更新 / 输入额度矩阵

...

更新URL:
POST/smartfin/api/v1/entity_credit_matrix/update

输入URL:
POST/smartfin/api/v1/entity_credit_matrix/insert

...

请求载荷 ( 更新 )

例子:

JSON 主体:

Code Block
{
    "return_full": false,
    "update_list": [
        {
            "ecm_id": 22,
            "entity_id": "261582",
            "dept": "this is dept",
            "entity_name":"TESTUPLOADFILE1",
            "trade_cat": ["testinsert","12345"],
            "min_margin_ratio": 0,
            "ecm_credit_amt": 0,
            "ecm_credit_term": 0,
            "dept_credit_amt": null,
            "measure_unit": null,
            "auth_qty": null,
            "auth_amt": null,
            "company_id": 119,
            "trade_dirc": [1],
            "pricing_method": [1],
            "sett_method": [3,4],
            "biz_type": null
        }
    ]
}

请求载荷 ( 输入 )

例子:

JSON 主体:

Code Block
{
    "return_full": false,
    "insert_list": [
        {
            "entity_id": "261582",
            "dept": "this is dept",
            "entity_name":"TESTUPLOADFILE1",
            "trade_cat": ["testinsert","12345"],
            "min_margin_ratio": 0,
            "ecm_credit_amt": 0,
            "ecm_credit_term": 0,
            "dept_credit_amt": null,
            "measure_unit": null,
            "auth_qty": null,
            "auth_amt": null,
            "company_id": 119,
            "trade_dirc": [1],
            "pricing_method": [1],
            "sett_method": [3,4],
            "biz_type": null
        }
    ]
}

请求架构

...

Code Block
return_full - boolean 
  • true 或 false

  • 如果是true,将返回全部数据。

  • 反之是false,将返回已输入或者更新的数据。

Code Block
insert_list - array[object]

...

删除额度矩阵

...

DELETE/smartfin/api/v1/whitelist/delete

...