获取检查项下自定义检验批
请求方式: POST
请求路径:
https://prod.open-api.mysre.cn/check-item/get-inspection-lots
| 参数名 | 参数位置 | 参数类型 | 必填 | 默认值 | 示例 | 描述 |
|---|---|---|---|---|---|---|
| project_id | body | string | 是 | 39ff70b4-7376-6fc3-0f15-2ce1824c7e8d | 项目ID | |
| bidsection_id | body | string | 是 | 39ffb969-d73f-231d-2737-47a92377f5f9 | 标段ID | |
| item_id | body | string | 是 | 39fec0f2-1d74-acda-31ed-9330707f4818 | 检查项ID | |
| tenant_code | query | string | 是 | zjalpha | 租户code |
{
"project_id":"39ffb2ef-f8c4-69c7-e8e3-97b11dcfa914",
"bidsection_id":"39ffb969-d73f-231d-2737-47a92377f5f9",
"item_id":"39fec0f2-1d74-acda-31ed-9330707f4818"
}
{
"errcode": 0,
"errmsg": "请求成功",
"data": [
{
"id": "39ffc96a-3c47-82ff-2f1d-b7f1bdaf2628",
"proj_id": "39ffb2ef-f8c4-69c7-e8e3-97b11dcfa914",
"bidsection_id": "39ffb969-d73f-231d-2737-47a92377f5f9",
"item_id": "39fec0f2-1d74-acda-31ed-9330707f4818",
"name": "一个检验批",
"sort": "1"
}
]
}
| 参数名 | 参数类型 | 描述 |
|---|---|---|
| errcode | number | |
| errmsg | string | |
| data.id | string | |
| data.proj_id | string | |
| data.bidsection_id | string | |
| data.item_id | string | |
| data.name | string | |
| data.sort | string |
{
"errcode":4001,
"errmsg":"必填参数不能为空",
"data":null
}
| 参数名 | 参数类型 | 描述 |
|---|---|---|