增量估计值分析

创建项目

暂无描述

接口状态

已完成

接口URL

http://{{indass}}/api

请求方式

POST

Content-Type

application/json

请求Body参数

{
    "action":"create_increment_project",
    "name": "i1",
    "alias": "i111",
    "balance_id": "Bla3100524600001",
    "frequency": 1
}
参数名 示例值 参数类型 是否必填 参数描述
action create_increment_project String -
name i1 String 项目名称
alias i111 String 项目别名
balance_id Bla3100524600001 String 平衡估计值项目编号
frequency 1 Number 计算频次,它的6倍必须小于平衡估计值项目的计算频次

成功响应示例

{
    "resp": "create_increment_project",
    "code": 200,
    "msg": "成功",
    "result": {
        "id": 3,
        "uid": "Inc3125242900002",
        "name": "i1",
        "alias": "i111",
        "frequency": 1,
        "balance_id": "Bla3100524600001",
        "status": 0,
        "created": "2023-11-22 15:25:52",
        "last_modified": "2023-11-22 15:25:52",
        "last_calc_time": "0001-01-01T00:00:00Z"
    }
}

编辑项目

暂无描述

接口状态

已完成

接口URL

http://{{indass}}/api

请求方式

POST

Content-Type

json

请求Body参数

{
    "action":"update_increment_project",
    "uid": "Inc3125815800003",
    "name": "i1",
    "alias": "i222",
    "balance_id": "Bla3100524600001",
    "frequency": 2
}
参数名 示例值 参数类型 是否必填 参数描述
action update_increment_project String -
uid Inc3125815800003 String -
name i1 String 项目名称
alias i222 String 项目别名
balance_id Bla3100524600001 String 平衡估计值项目编号
frequency 2 Number 计算频次,必须是

成功响应示例

{
    "resp": "update_increment_project",
    "code": 200,
    "msg": "成功",
    "result": {
        "id": 1,
        "uid": "Inc3125815800003",
        "name": "i1",
        "alias": "i222",
        "frequency": 2,
        "balance_id": "Bla3100524600001",
        "status": 0,
        "created": "0001-01-01 00:00:00",
        "last_modified": "2023-11-22 15:29:53",
        "last_calc_time": "0001-01-01T00:00:00Z"
    }
}

删除项目

暂无描述

接口状态

已完成

接口URL

http://{{indass}}/api

请求方式

POST

Content-Type

json

请求Body参数

{
    "action":"delete_increment_project",
    "uid": "Inc3124475700001"
}

成功响应示例

{
    "resp": "delete_increment_project",
    "code": 200,
    "msg": "成功",
    "result": "删除成功"
}

启动项目

暂无描述

接口状态

已完成

接口URL

http://{{indass}}/api

请求方式

POST

Content-Type

json

请求Body参数

{
    "action":"start_increment_project",
    "uid": "Inc3125815800003"
}

成功响应示例

{
    "resp": "start_increment_project",
    "code": 200,
    "msg": "成功",
    "result": "启动成功"
}

停止项目

暂无描述

接口状态

已完成

接口URL

http://{{indass}}/api

请求方式

POST

Content-Type

json

请求Body参数

{
    "action":"stop_increment_project",
    "uid": "Inc3125815800003"
}

成功响应示例

{
    "resp": "stop_increment_project",
    "code": 200,
    "msg": "成功",
    "result": "停止成功"
}

获取项目详情

暂无描述

接口状态

已完成

接口URL

http://{{indass}}/api

请求方式

POST

Content-Type

json

请求Body参数

{
    "action":"get_increment_project_item",
    "uid": "Inc3125815800003"
}

成功响应示例

{
    "resp": "get_increment_project_item",
    "code": 200,
    "msg": "成功",
    "result": {
        "id": 1,
        "uid": "Inc3125815800003",
        "name": "i1",
        "alias": "i222",
        "frequency": 2,
        "balance_id": "Bla3100524600001",
        "status": 0,
        "created": "2023-11-22 15:22:58",
        "last_modified": "2023-11-22 15:37:37",
        "last_calc_time": "0001-01-01T00:00:00Z"
    }
}

获取项目列表

暂无描述

接口状态

已完成

接口URL

http://{{indass}}/api

请求方式

POST

Content-Type

json

请求Body参数

{
    "action":"get_increment_project_list",
    "page_index": 1,
    "page_size": 10
}

成功响应示例

{
    "resp": "get_increment_project_list",
    "code": 200,
    "msg": "成功",
    "result": {
        "page_index": 1,
        "page_size": 10,
        "total_pages": 1,
        "total_records": 2,
        "data": [
            {
                "id": 3,
                "uid": "Inc3125242900002",
                "name": "i1",
                "alias": "i111",
                "frequency": 1,
                "balance_id": "Bla3100524600001",
                "status": 0,
                "created": "2023-11-22 15:25:52",
                "last_modified": "2023-11-22 15:25:52",
                "last_calc_time": "0001-01-01T00:00:00Z"
            },
            {
                "id": 1,
                "uid": "Inc3125815800003",
                "name": "i1",
                "alias": "i222",
                "frequency": 2,
                "balance_id": "Bla3100524600001",
                "status": 0,
                "created": "2023-11-22 15:22:58",
                "last_modified": "2023-11-22 15:37:37",
                "last_calc_time": "0001-01-01T00:00:00Z"
            }
        ]
    }
}

获取项目结果列表

暂无描述

接口状态

已完成

接口URL

http://{{indass}}/api

请求方式

POST

Content-Type

json

请求Body参数

{
    "action":"get_increment_result_list",
    "page_index": 1,
    "page_size": 10
}

成功响应示例

{
    "resp": "get_increment_result_list",
    "code": 200,
    "msg": "成功",
    "result": {
        "page_index": 1,
        "page_size": 5,
        "total_pages": 6,
        "total_records": 27,
        "data": [
            {
                "id": 27,
                "project_uid": "Sbi3052227700001",
                "object_id": "yjj",
                "start_time": "",
                "end_time": "",
                "data": {
                    "S01": 3350.678,
                    "S02": 826.842,
                    "S03": 1032.821,
                    "data": 5210.341
                },
                "created": "2023-10-27 16:14:18",
                "last_modified": "2023-10-27 16:14:18"
            }
        ]
    }
}
文档更新时间: 2024-08-09 15:47   作者:技术支持