分页获取项目下计划外工作列表

更新时间:2021-10-26 16:33:31

接口说明

分页获取项目下计划外工作列表

基本信息

请求方式: POST

请求路径:

https://prod.open-api.mysre.cn/get-out-plan-list

请求参数

参数名 参数位置 参数类型 必填 默认值 示例 描述
project_id body string 39ff70b4-7376-6fc3-0f15-2ce1824c7e8d 项目ID
biz_conditions body object 业务条件
biz_conditions.check_batch_list body array 批次ID列表
biz_conditions.measure_list body array 实测实量标段、检查项列表
biz_conditions.process_accept_v3_list body array 工序验收v3标段、检查项列表
page body number 1 页码
page_size body number 10 页尺寸
tenant_code query string zjalpha 租户code

请求示例

{
    "project_id":"39ff70b4-7376-6fc3-0f15-2ce1824c7e8d",
    "biz_conditions":{
        "check_batch_list": [
            "0b033259-af24-46b8-a5ac-41fca1c4c63d",
            "39ffb845-c8a3-7338-cc37-2368c4881253"
        ],
        "measure_list": [
            "39ff70ba-0283-0743-969d-969492863305/39d772e6-aa75-addb-31dc-ff073e7ea2e9",
            "39ff70ba-0283-0743-969d-969492863305/39d772e6-aa28-5fae-e040-1abd7ceb52e1"
        ],
        "process_accept_v3_list": [
            "39ff70ba-0283-0743-969d-969492863305/39fd4005-db47-cf3d-1746-72037f5b1e82",
            "39ff70ba-0283-0743-969d-969492863305/39fec0ef-37f1-caf0-85d9-cebafdfdf510"
        ]
    },
    "page":1,
    "page_size":10
}

返回成功示例

{
    "errcode": 0,
    "errmsg": "请求成功",
    "data": {
        "total": 36,
        "list": [
            {
                "item_type": "现场检查",
                "project_name": "weij-测试项目-一期",
                "biz_name": "批次222",
                "regist_date": "2021-10-24 11:46:59",
                "user_names": "15723141103",
                "new_sort": "0"
            },
            {
                "item_type": "现场检查",
                "project_name": "weij-测试项目-一期",
                "biz_name": "请问(重名1)",
                "regist_date": "2021-10-22 22:56:18",
                "user_names": "ss-jl",
                "new_sort": "0"
            },
            {
                "item_type": "现场检查",
                "project_name": "weij-测试项目-一期",
                "biz_name": "请问",
                "regist_date": "2021-10-22 22:54:28",
                "user_names": "ss-jl",
                "new_sort": "0"
            },
            {
                "item_type": "现场检查",
                "project_name": "weij-测试项目-一期",
                "biz_name": "测试批次",
                "regist_date": "2021-10-22 16:08:47",
                "user_names": "ss-jl",
                "new_sort": "0"
            },
            {
                "item_type": "现场检查",
                "project_name": "weij-测试项目-一期",
                "biz_name": "weij111",
                "regist_date": "2021-10-22 11:28:51",
                "user_names": "ss-js",
                "new_sort": "0"
            },
            {
                "item_type": "现场检查",
                "project_name": "weij-测试项目-一期",
                "biz_name": "weij-批次10-api",
                "regist_date": "2021-10-21 21:24:41",
                "user_names": "weij",
                "new_sort": "0"
            },
            {
                "item_type": "现场检查",
                "project_name": "weij-测试项目-一期",
                "biz_name": "请问",
                "regist_date": "2021-10-21 19:27:49",
                "user_names": "222222222222",
                "new_sort": "0"
            },
            {
                "item_type": "现场检查",
                "project_name": "weij-测试项目-一期",
                "biz_name": "测试新增",
                "regist_date": "2021-10-21 19:09:53",
                "user_names": "ss-jl",
                "new_sort": "0"
            },
            {
                "item_type": "现场检查",
                "project_name": "weij-测试项目-一期",
                "biz_name": "23",
                "regist_date": "2021-10-21 16:44:31",
                "user_names": "ss-jl1",
                "new_sort": "0"
            },
            {
                "item_type": "现场检查",
                "project_name": "weij-测试项目-一期",
                "biz_name": "权限",
                "regist_date": "2021-10-21 16:34:08",
                "user_names": "gzp",
                "new_sort": "0"
            }
        ]
    }
}

返回参数说明(成功)

参数名 参数类型 描述
errcode number
errmsg string
data array 检查人名数组
data.total number 总数
data.list array 分页数据及
data.list.item_type string 业务类型
data.list.project_name string 项目名称
data.list.biz_name string 业务名称
data.list.regist_date string 登记时间
data.list.user_names string 相关检查人
data.list.new_sort string

失败返回示例

{
  "errcode":4001, 
  "errmsg":"必填参数不能为空",
  "data":null
}

返回参数说明(失败)

参数名 参数类型 描述

results matching ""

    No results matching ""