使用POST方式添加一条case信息
POST http://host/api/case
# 请求参数
# 请求参数样例#
{
"matrix": "甲醇",
"source": "PCS",
"eluent": "MeOH",
"description": "",
"cartridge_code": "CPD1001",
"analysis_type": "DDA",
"analysis_parameters": {},
"algorithm_parameters": {},
"config": {},
"expected_result": {}
}
1
2
3
4
5
6
7
8
9
10
11
12
2
3
4
5
6
7
8
9
10
11
12
# 返回参数
# 返回样例
{
"message":"success",
"code":200,
"data":{
"id":1,
"matrix": "甲醇",
"source": "PCS",
"eluent": "MeOH",
"description": "",
"cartridge_code": "CPD1001",
"analysis_type": "DDA",
"analysis_parameters": {},
"algorithm_parameters": {},
"config": {},
"expected_result": {}
}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 错误处理和说明
{
"message":"Error",
"code":400,
"data":{}
}