获取检查项下自定义检验批

更新时间:2021-10-27 16:19:52

接口说明

获取检查项下自定义检验批

基本信息

请求方式: 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
}

返回参数说明(失败)

参数名 参数类型 描述

results matching ""

    No results matching ""