校验自定义指标接口
开发中POST
/li-index/validateExpress请求参数
Body 参数application/json
indexType
string
必需
desc
string
必需
operationList
array [object {3}]
必需
opType
string
必需
value
string
必需
indexInfo
object
可选
示例
{
"indexType": "2",
"desc": "测试自定义指标",
"operationList": [
{
"opType": "3",
"value": "25"
},
{
"opType": "1",
"value": "+"
},
{
"opType": "2",
"indexInfo": {
"fieldName": "debt_investment_par_statement",
"indexName": "A",
"statisticCaliber": "P5",
"indexYear": "2022",
"tableName": "li_enterprise_main_info",
"indexType": "1",
"desc": "A_2022"
}
},
{
"opType": "1",
"value": ")"
},
{
"opType": "1",
"value": "^"
},
{
"opType": "3",
"value": "2"
}
]
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
string
必需
msg
string
必需
data
null
必需
示例
{
"code": "-1",
"msg": " 1:65: Unexpected token: ')'. Expected an expression.",
"data": null
}
修改于 2 年前