查询审批列表

更新时间:2023-06-21 07:12:59下载pdf

本文介绍查询审批列表的 API。

接口描述

通过人员 ID 分页查询指定人员的待办、已办列表信息。

接口地址

GET: /v2.0/iot-03/meeting-approvals

请求参数

参数名类型参数位置是否必填说明
typeStringquerytrue审批状态,待办:0;已办:1
uidStringquerytrue审批人 ID
page_sizeIntegerqueryfalse页大小
page_noIntegerqueryfalse页码

返回参数

参数名类型说明
resultPage

result 说明

参数名类型说明
totalLong数量
listList
has_moreBoolean是否还有下一页

list 说明

参数名类型说明
idString审批 ID
titleString审批标题
current_stepString当前节点
reservation_idString会议预约 ID
submit_timeLong提交时间

请求示例

GET: /v2.0/iot-03/meeting-approvals?type=0&uid=007&page_size=10&page_no=1

返回示例

{
    "result": {
        "list": [
            {
                "submit_time": 1625040656482,
                "title": "会议室44号会议室审批",
                "reservation_id": "1410148835895808097",
                "id": "1410148836105519137",
                "current_step": "anyOneSign"
            },
            {
                "submit_time": 1625040330438,
                "title": "会议室3号会议室审批",
                "reservation_id": "1410147468254908448",
                "id": "1410147468573671501",
                "current_step": "anyOneSign"
            },
            {
                "submit_time": 1625040272326,
                "title": "会议室3号会议室审批",
                "reservation_id": "1410147224574234670",
                "id": "1410147224834281495",
                "current_step": "anyOneSign"
            },
            {
                "submit_time": 1625040162416,
                "title": "会议室3号会议室审批",
                "reservation_id": "1410146763175632934",
                "id": "1410146763838328869",
                "current_step": "anyOneSign"
            },
            {
                "submit_time": 1624972913054,
                "title": "小型会议室1号会议室审批",
                "reservation_id": "1409864696705589333",
                "id": "1409864699574489109",
                "current_step": "anyOneSign"
            }
        ],
        "total": 5,
        "has_more": false
    },
    "t": 1625062730235,
    "success": true
}

错误码

参考 错误码