作者:钟剑华  历史版本:1  更新时间:2024-11-20 15:41

流程分管授权列表

简述:

  • 【流程分管授权】列表(分页条件查询)数据

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:

暂无

  • Body:
名称 类型 是否必须 默认值 备注 其他信息
request APIRequest[1] 动态查询请求对象

请求参数示例:

{
    "parameters": [],
    "requestPage": {
        "pageNo": 1,
        "limit": 20
    },
    "sorts": []
}

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": {
        "dataResult": [{
                "pk": "",
                "name": "测试",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "632227312837853184",
                "type": "start,manage,task,instance",
                "rightsOwnerList": [{
                        "pk": "",
                        "name": null,
                        "ip": null,
                        "createBy": null,
                        "createTime": "2019-10-28 17:19:38",
                        "updateBy": null,
                        "updateTime": null,
                        "tenantId": null,
                        "dataStatus": null,
                        "dbtype": null,
                        "id": "638426663910113280",
                        "entityType": "bpmAuth",
                        "entityId": "632227312837853184",
                        "type": "all",
                        "rightsId": "",
                        "rightsName": ""
                    }
                ],
                "rightsDefList": [{
                        "pk": "",
                        "name": null,
                        "ip": null,
                        "createBy": null,
                        "createTime": null,
                        "updateBy": null,
                        "updateTime": null,
                        "tenantId": null,
                        "dataStatus": null,
                        "dbtype": null,
                        "id": "638426664224686080",
                        "authId": "632227312837853184",
                        "defKey": "Process_0dklyrb",
                        "defName": "测试流程实例(2)",
                        "rights": "{\"m_edit\":\"Y\",\"m_del\":\"Y\",\"m_start\":\"Y\",\"m_set\":\"Y\",\"m_clean\":\"Y\",\"m_guideEdit\":\"Y\",\"i_del\":\"Y\"}"
                    }, {
                        "pk": "",
                        "name": null,
                        "ip": null,
                        "createBy": null,
                        "createTime": null,
                        "updateBy": null,
                        "updateTime": null,
                        "tenantId": null,
                        "dataStatus": null,
                        "dbtype": null,
                        "id": "638426664363098112",
                        "authId": "632227312837853184",
                        "defKey": "Process_1oju6za",
                        "defName": "学校请假流程——(勿动)",
                        "rights": "{\"m_edit\":\"Y\",\"m_del\":\"Y\",\"m_start\":\"Y\",\"m_set\":\"Y\",\"m_clean\":\"Y\",\"m_guideEdit\":\"Y\",\"i_del\":\"Y\"}"
                    }
                ],
                "rightsOwner": null,
                "rightsDef": null
            }
        ],
        "pageResult": {
            "limit": 20,
            "page": 1,
            "totalCount": 8,
            "totalPages": 1
        }
    }
}

返回参数说明:

名称 类型 备注
dataResult List< BpmAuthPo > 流程分管授权列表数据
pageResult Object 分页数据

根据id获取对象信息

简述:

  • 根据id获取对象信息

请求URL:

请求方式:

  • GET

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
id String 主键id
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/bpm/auth/get?id=626866373389189120

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": {
        "pk": "",
        "name": "测试",
        "ip": null,
        "createBy": null,
        "createTime": null,
        "updateBy": null,
        "updateTime": null,
        "tenantId": null,
        "dataStatus": null,
        "dbtype": null,
        "id": "651836295558987776",
        "type": "start,manage,task,instance",
        "rightsOwnerList": [{
                "pk": "",
                "name": null,
                "ip": null,
                "createBy": null,
                "createTime": "2019-12-04 17:24:44",
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "651836296624340992",
                "entityType": "bpmAuth",
                "entityId": "651836295558987776",
                "type": "all",
                "rightsId": "",
                "rightsName": ""
            }
        ],
        "rightsDefList": [{
                "pk": "",
                "name": null,
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "651836296917942272",
                "authId": "651836295558987776",
                "defKey": "Process_0d0qo8v",
                "defName": "测试邮箱21",
                "rights": "{\"m_edit\":\"Y\",\"m_del\":\"Y\",\"m_start\":\"Y\",\"m_set\":\"Y\",\"m_clean\":\"Y\",\"m_guideEdit\":\"Y\",\"i_del\":\"Y\"}"
            }
        ],
        "rightsOwner": "[{\"type\":\"all\",\"rightsId\":\"\",\"rightsName\":\"\"}]",
        "rightsDef": "[{\"ip\":\"\",\"dataStatus\":\"\",\"updateTime\":null,\"authId\":\"651836295558987776\",\"createBy\":\"\",\"createTime\":null,\"updateBy\":\"\",\"rights\":\"{\\\"m_edit\\\":\\\"Y\\\",\\\"m_del\\\":\\\"Y\\\",\\\"m_start\\\":\\\"Y\\\",\\\"m_set\\\":\\\"Y\\\",\\\"m_clean\\\":\\\"Y\\\",\\\"m_guideEdit\\\":\\\"Y\\\",\\\"i_del\\\":\\\"Y\\\"}\",\"dbtype\":\"\",\"name\":\"\",\"tenantId\":\"\",\"defKey\":\"Process_0d0qo8v\",\"defName\":\"测试邮箱21\",\"id\":\"651836296917942272\",\"pk\":\"\"}]"
    }
}

返回参数说明:

名称 类型 备注
data BpmAuthPo 流程分管授权对象

保存

简述:

  • 保存流程分管授权

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:

暂无

  • Body:
名称 类型 是否必须 默认值 备注 其他信息
id String 主键id
name String 名称
type String 权限类型
rightsOwner String 授权人员
rightsDef String 授权流程

请求参数示例:

{
    "id": "",
    "name": "测测",
    "type": "start,manage",
    "rightsOwner": "[{\"type\":\"all\",\"rightsId\":\"\",\"rightsName\":\"\"}]",
    "rightsDef": "[{\"ip\":\"\",\"dataStatus\":\"\",\"updateTime\":null,\"authId\":\"636523275781931008\",\"createBy\":\"\",\"createTime\":null,\"updateBy\":\"\",\"rights\":{\"m_edit\":\"N\",\"m_del\":\"N\",\"m_start\":\"Y\",\"m_set\":\"N\",\"m_clean\":\"N\",\"m_guideEdit\":\"N\",\"i_del\":\"N\"},\"dbtype\":\"\",\"name\":\"\",\"tenantId\":\"\",\"defKey\":\"Process_104w6zd\",\"defName\":\"审核管理/异动管理流程\",\"id\":\"636523279170928640\",\"pk\":\"\"}]"
}

返回示例:

{
  "state": 200,
  "request": null,
  "message": "保存流程分管授权成功",
  "cause": "",
  "variables": {},
  "data": null
}

返回参数说明:

名称 类型 备注
data Void

删除

简述:

  • 批量删除流程分管授权

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
ids String 主键id
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/bpm/auth/remove?ids=636523275781931008

返回示例:

{
  "state": 200,
  "request": null,
  "message": "删除流程分管授权成功",
  "cause": "",
  "variables": {},
  "data": null
}

返回参数说明:

名称 类型 备注
data Void

备注