使用DELETE方式删除指定ID的case详细信息(同时删除与其相关联的sample信息)
DELETE http://host/api/case/{case_id}
# 请求参数
# 请求参数样例#
{
"id":""
}
1
2
3
2
3
# 返回参数
# 返回样例
{
"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":{}
}