
# 查询审批流（API名称：openSceneTask/findReviewProcessList）
#### 功能介绍
查询审批流。
#### 相关接口
| **接口名称**                                                             | **调用说明**                                                     |
|:---|:---|
| [获取Token](https://support.huaweicloud.com/api-isdp/api_01_0019.html) | 调用该接口获取到Token，再调用其他接口时，需要在请求消息头中添加"Authorization"，其值即为Token。 |
   
#### URL
| **请求方式** | **HTTPS地址**                                                          | **服务架构** | **消息体类型**        |
|:---|:---|:---|:---|
| POST     | https://***isdp+域名***/openapi/v1/openSceneTask/findReviewProcessList | OpenAPI  | application/json |
   
#### 请求头
| **KEY**       | **VALUE**              | **是否必填** | **描述**                                                                                           |
|:---|:---|:---|:---|
| Content-Type  | application/json       | 是        | 无                                                                                                |
| Authorization | bearer ${access_token} | 是        | bearer +" "+[5.2.1](https://support.huaweicloud.com/api-isdp/api_01_0019.html)中获取的access_token的值 |
   
#### 请求参数
| **参数**                    | **类型**       | **是否必填** | **描述**        |
|:---|:---|:---|:---|
| pageStart                 | Integer      | 否        | 起始位置          |
| pageSize                  | Integer      | 否        | 分页条数          |
| reviewProcessName         | String       | 否        | 审批流名称-模糊查询    |
| adminOrganizationName     | String       | 否        | 组织单元名称-模糊查询   |
| id                        | Long         | 否        | 审批流ID-精确查询    |
| revieweMode               | Integer      | 否        | 审批模式-精确查询     |
| processType               | Integer      | 否        | 审批流类型-精确查询    |
| adminOrganizationCode     | Long         | 否        | 组织单元编码-精确查询   |
| isIncludeChild            | Boolean      | 否        | 是否有下级组织       |
| adminOrganizationCodeList | List\<Long\> | 否        | 组织单元编码列表-精确查询 |
   
#### 响应参数
| **参数**       | **类型** | **描述**                                                                                                                                                                                                                                                                                                                                                                                      |
|:---|:---|:---|
| stateCode    | String | 响应状态码： - 0-成功  - 其他-失败   |
| errorMessage | String | 响应描述                                                                                                                                                                                                                                                                                                                                                                                        |
| result       | Object | 响应结果内容data、分页数据                                                                                                                                                                                                                                                                                                                                                                             |
   
result出参：
| **参数**                    | **类型**        | **描述**  |
|:---|:---|:---|
| Pos                       | Integer       | 起始位置    |
| totalCount                | Integer       | 总条数     |
| id                        | Long          | 审批流ID   |
| status                    | Integer       | 审批流配置状态 |
| deleteFlag                | Integer       | 删除标识    |
| reviewProcessName         | String        | 审批流名称   |
| processType               | Integer       | 审批流类型   |
| revieweMode               | Integer       | 审批模式    |
| isEleSign                 | Integer       | 是否电子签名  |
| adminOrganizationCode     | Long          | 组织单元编码  |
| adminOrganizationCodeList | List\<Long\>。 | 组织单元编码  |
| adminOrganizationName     | String        | 组织单元名称  |
| rejectionRuleType         | Integer       | 驳回规则    |
| reviewProcessLevelList    | List          | 审批层级列表  |
   
reviewProcessLevelList出参：
| **参数**          | **类型**  | **描述**                             |
|:---|:---|:---|
| id              | Long    | 主键ID                               |
| reviewProcessId | Long    | 审批流配置ID                            |
| reviewerId      | Long    | 审批人id                              |
| reviewerName    | String  | 审批人名称                              |
| reviewerType    | String  | 审批人类型                              |
| reviewLevel     | Integer | 审批层级                               |
| isOnlineReview  | Integer | 是否随机评审： (0：否， 1：是)                 |
| revieweMode     | Integer | 审批模式 默认0(0-单签， 1-会签)               |
| isEleSign       | Integer | 是否电子签名 默认0(0-不启用签名， 1-手动签名，2-自动签名) |
| remark          | String  | 审批层级说明                             |
| deleteFlag      | Integer | 删除标识：0-正常，1-删除                     |
   
#### 请求示例
```
{
    "id": 46623
}
```
#### 响应示例
```
{
    "stateCode": "0",
    "errorMessage": null,
    "result": {
        "data": [
            {
                "id": 46623,
                "ids": null,
                "status": 1,
                "deleteFlag": 0,
                "reviewProcessName": "perf122026581929",
                "operationFlag": null,
                "isLevelGroup": null,
                "processType": 0,
                "revieweMode": 0,
                "isEleSign": 0,
                "adminOrganizationCode": 830,
                "adminOrganizationCodeList": null,
                "adminOrganizationName": "杨凌作业系统测试",
                "rejectionRuleType": 1,
                "orgIncludeChild": null,
                "reviewProcessLevelList": [
                    {
                        "id": 92340,
                        "reviewProcessId": 46623,
                        "reviewProcessName": null,
                        "reviewerId": 41321,
                        "reviewerName": "Tanghao",
                        "reviewerType": "Admin",
                        "reviewLevel": 1,
                        "isOnlineReview": 0,
                        "revieweMode": 0,
                        "isEleSign": 0,
                        "remark": "",
                        "deleteFlag": 0,
                        "processType": null
                    }
                ],
                "page": null,
                "reviewProcessId": null,
                "reviewProcessLevelObjList": null
            }
        ],
        "pos": 0,
        "total_count": 1,
        "entityName": null,
        "totalCount": 1
    }
}
```
