获取图纸审核业务单据列表

更新时间:2022-03-02 01:48:19

接口说明

获取图纸审核业务单据列表(提供给质检 SOP 使用)

基本信息

请求方式: POST

请求路径:

https://prod.open-api.mysre.cn/blueprint/get-biz-list

请求参数

参数名 参数位置 参数类型 必填 默认值 示例 描述
tenant_code body string zjalpha 租户Code
yunfuwu_project_id body string 39ff70b4-7376-6fc3-0f15-2ce1824c7e8d 云服务项目ID,必须在工程协同存在
yunfuwu_user_id body string 39ff70aa-a41b-4afe-720d-2855990abe03 云服务用户ID,必须在工程协同存在
template_id body string 39ffd7ae-6688-0deb-44a1-f8716d73bfd9 图纸审核模板ID

请求示例

{
    "tenant_code":"zjalpha",
    "yunfuwu_project_id":"39ff70b4-7376-6fc3-0f15-2ce1824c7e8d",
    "yunfuwu_user_id":"39ff70aa-a41b-4afe-720d-2855990abe03",
    "template_id": "39ffd7ae-6688-0deb-44a1-f8716d73bfd9"
}

返回成功示例

{
    "request_id": "39ffd8bb-9300-3b2d-d172-8d3a26444a5e",
    "errcode": 0,
    "errmsg": "ok",
    "data": {
        "title": ["num", "biz_title", "buildings", "template_name", "score", "status", "fq_date"],
        "data": [{
            "id": "0ae5345d-c62e-4486-85f6-772004f4b12e",
            "name": "1517",
            "data": {
                "num": 1,
                "biz_title": "1517",
                "buildings": "12#",
                "template_name": "weij 调试-勿删",
                "score": "2",
                "status": "草稿",
                "fq_date": "2021-09-15 15:17:12",
                "jump": {
                    "url": "@{{application/gcxt_web_host}}/react/cloud/#/home/tc_blueprint/edit/0ae5345d-c62e-4486-85f6-772004f4b12e?f=simple",
                    "target": null,
                    "params": null
                }
            }
        }, {
            "id": "1aa55d53-6e41-4a5e-a564-2a409dc710f6",
            "name": "未完成图纸审核",
            "data": {
                "num": 2,
                "biz_title": "未完成图纸审核",
                "buildings": "18#、11#、13#、10#",
                "template_name": "weij 调试-勿删",
                "score": "1",
                "status": "草稿",
                "fq_date": "2021-09-15 15:50:37",
                "jump": {
                    "url": "@{{application/gcxt_web_host}}/react/cloud/#/home/tc_blueprint/edit/1aa55d53-6e41-4a5e-a564-2a409dc710f6?f=simple",
                    "target": null,
                    "params": null
                }
            }
        }],
        "buttons": [{
            "name": "新增",
            "url": "@{{application/gcxt_web_host}}/react/cloud/#/home/tc_blueprint/create?f=simple"
        }]
    }
}

返回参数说明(成功)

参数名 参数类型 描述
request_id string 请求标识
errcode number 错误码:0 正常、其它错误
errmsg string 错误消息:ok 正常、其它错误
data object 返回数据
data.title array 自定义表头字段名数组
data.data array 具体列表数据
data.data.id string ID,任务ID
data.data.name string ID,任务名称

失败返回示例

{
   "errcode": 5001,
   "errmsg": "无效租户"
}

返回参数说明(失败)

参数名 参数类型 描述
errcode number 错误码
errmsg string 错误信息

results matching ""

    No results matching ""