{
	"info": {
		"_postman_id": "249b6c6f-1e0e-4dfd-a08f-b269b52637ce",
		"name": "轻流OPEN API",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"item": [
		{
			"name": "轻流应用接口",
			"item": [
				{
					"name": "获取工作区所有应用",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "accessToken",
								"value": "",
								"description": "仅「超管accessToken」拥有调用权限（权限组accessToken无法调用）。",
								"type": "text"
							}
						],
						"url": {
							"raw": "https://{{公有}}/app",
							"protocol": "https",
							"host": [
								"{{公有}}"
							],
							"path": [
								"app"
							]
						}
					},
					"response": []
				},
				{
					"name": "获取应用表单信息",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "accessToken",
								"value": "{{accessToken}}",
								"description": "「超管accessToken」和「权限组accessToken」都可以调用，「权限组accessToken」须具有对应应用包/应用的权限。",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "https://{{公有}}/app/:appKey/form",
							"protocol": "https",
							"host": [
								"{{公有}}"
							],
							"path": [
								"app",
								":appKey",
								"form"
							],
							"variable": [
								{
									"key": "appKey",
									"value": "8fc52e9e"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "获取accessToken",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "accessToken",
								"value": "",
								"type": "text"
							}
						],
						"url": {
							"raw": "https://{{公有}}/accessToken?wsId=&wsSecret=",
							"protocol": "https",
							"host": [
								"{{公有}}"
							],
							"path": [
								"accessToken"
							],
							"query": [
								{
									"key": "wsId",
									"value": "",
									"description": "工作区ID"
								},
								{
									"key": "wsSecret",
									"value": "",
									"description": "工作区权限组的凭证密钥"
								}
							]
						},
						"description": "获取accessToken是调用轻流openAPI接口的第一步，相当于创建了一个登录凭证，其它的API接口，都需要依赖于accessToken来鉴权调用者身份。"
					},
					"response": []
				},
				{
					"name": "获取工作区全部应用包信息",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "accessToken",
								"value": "",
								"description": "仅「超管accessToken」拥有调用权限（权限组accessToken无法调用）",
								"type": "text"
							}
						],
						"url": {
							"raw": "https://{{公有}}/tags?useId",
							"protocol": "https",
							"host": [
								"{{公有}}"
							],
							"path": [
								"tags"
							],
							"query": [
								{
									"key": "useId",
									"value": "",
									"description": "用户ID"
								}
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "应用数据接口",
			"item": [
				{
					"name": "数据内容",
					"item": [
						{
							"name": "获取应用word打印模版信息（专）",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "「超管accessToken」和「权限组accessToken」都可以调用，「权限组accessToken」须具有相应应用权限。",
										"type": "text"
									}
								],
								"url": {
									"raw": "https://{{专有}}/app/:appKey/print",
									"protocol": "https",
									"host": [
										"{{专有}}"
									],
									"path": [
										"app",
										":appKey",
										"print"
									],
									"variable": [
										{
											"key": "appKey",
											"value": null
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "获取单条数据对应打印模版文件（专）",
							"protocolProfileBehavior": {
								"disableBodyPruning": true
							},
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "「超管accessToken」和「权限组accessToken」都可以调用，「权限组accessToken」须具有相应应用权限。",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"userId\": \"\",  //用户id\n    \"auditNodeId\":\"\"  //节点id\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://{{专有}}/apply/:applyId/:printKey/print",
									"protocol": "https",
									"host": [
										"{{专有}}"
									],
									"path": [
										"apply",
										":applyId",
										":printKey",
										"print"
									],
									"variable": [
										{
											"key": "applyId",
											"value": null
										},
										{
											"key": "printKey",
											"value": null
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "获取数据表列表数据（专）",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "「权限组accessToken」可调用，「权限组accessToken」须具有该报表对应应用的权限。",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"accurateQuery\": [{\n        \"queId\": \"\",\n        \"searchKey\": \"\"  //搜索的关键词\n    }]\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://{{专有}}/chart/:chartKey/apply/filter",
									"protocol": "https",
									"host": [
										"{{专有}}"
									],
									"path": [
										"chart",
										":chartKey",
										"apply",
										"filter"
									],
									"variable": [
										{
											"key": "chartKey",
											"value": ""
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "获取报表数据（专）",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "「超管accessToken」和「权限组accessToken」都可以调用，「权限组accessToken」须具有相应应用权限。\n",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"accurateQuery\": [{\n        \"queId\": 8888,\n        \"searchKey\": \"\"  //搜索的关键词\n    }]\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://{{专有}}/chart/:chartKey/chartData",
									"protocol": "https",
									"host": [
										"{{专有}}"
									],
									"path": [
										"chart",
										":chartKey",
										"chartData"
									],
									"variable": [
										{
											"key": "chartKey",
											"value": ""
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "更新单条数据的信息",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "「超管accessToken」和「权限组accessToken」都可以调用，「权限组accessToken」须具有对应应用的权限。",
										"type": "text"
									},
									{
										"key": "",
										"value": "",
										"type": "text",
										"disabled": true
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n   \"answers\":   //必填\n   [\n       {\n    \"queId\":****,  //必填，更新数据中字段的id，可通过“获取应用数据”接口获取\n    \"queTitle\":\"****\",\n    \"queType\":****,\n    \"values\":[          //必填\n        {\"value\":\"****\",\n        \"otherinfo\":\"****\",\n        \"id\":****   //int类型\n        }\n    ]\n   // \"tableValues\":[]  表格类型字段必填\n       }\n   ]\n}\n",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://{{公有}}/apply/:applyId",
									"protocol": "https",
									"host": [
										"{{公有}}"
									],
									"path": [
										"apply",
										":applyId"
									],
									"variable": [
										{
											"key": "applyId",
											"value": ""
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "获取单条数据的详细信息",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "「权限组accessToken」可调用，「权限组accessToken」须具有该报表对应应用的权限。",
										"type": "text"
									}
								],
								"url": {
									"raw": "https://api.qingflow.com/apply/:applyId",
									"protocol": "https",
									"host": [
										"api",
										"qingflow",
										"com"
									],
									"path": [
										"apply",
										":applyId"
									],
									"variable": [
										{
											"key": "applyId",
											"value": ""
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "删除应用数据",
							"request": {
								"method": "DELETE",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "「超级管理员accessToken」和「权限组accessToken」都可以调用，「权限组accessToken」须具有该应用的权限，以及数据管理的权限。",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"pageSize\":50,  //必填\n    \"pageNum\": 1,  //必填\n    \"type\": 1,\n    \"sorts\": [{\n        \"queId\": 1,\n        \"isAscend\": true\n    }],\n    \"queriesRel\": \"\",\n    \"queries\": [{\n        \"queId\": 0,\n        \"searchKey\": \"\",\n        \"searchKeys\": [],\n        \"minValue\": \"\",\n        \"maxValue\": \"\",\n        \"scope\": 1,\n        \"searchOptions\": [],\n        \"searchUserIds\": []\n    }],\n    \"queryKey\": \"\",\n    \"applyIds\": []\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://{{公有}}/app/:appId/apply",
									"protocol": "https",
									"host": [
										"{{公有}}"
									],
									"path": [
										"app",
										":appId",
										"apply"
									],
									"variable": [
										{
											"key": "appId",
											"value": ""
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "添加应用数据",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "「超管accessToken」和「权限组accessToken」都可以调用，「权限组accessToken」须具有对应应用权限。",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n\"applyUser\":{\n    \"email\":\"\",//必填，操作人的邮箱，如果不传就以header中userId为准，两者都不传就以工作区创始人的身份添加数据\n    \"areaCode\":\"\",\n    \"mobile\":\"\"\n    },\n\"answers\":[{\n    \"queId\":123456,  //必填，字段id\n    \"queTitle\":\"\",  //必填，字段名称\n    \"queType\":2  //必填，字段类型\n    }\n    ],\n\"values\":[{\n    \"velue\":\"\",\n    \"otherInfo\":\"\",\n    \"id\":\"\"\n    }\n    ]\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://{{公有}}/app/:appKey/apply",
									"protocol": "https",
									"host": [
										"{{公有}}"
									],
									"path": [
										"app",
										":appKey",
										"apply"
									],
									"variable": [
										{
											"key": "appKey",
											"value": ""
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "获取应用的数据",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "「超级管理员accessToken」和「权限组accessToken」都可以调用，「权限组accessToken」须具有该应用的权限，以及数据管理的权限。",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n\t\"pageSize\":\"50\",  //每页数量\n\t\"pageNum\": \"1\"  //起始页吗\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://{{公有}}/app/:appKey/apply/filter",
									"protocol": "https",
									"host": [
										"{{公有}}"
									],
									"path": [
										"app",
										":appKey",
										"apply",
										"filter"
									],
									"query": [
										{
											"key": "",
											"value": "",
											"disabled": true
										}
									],
									"variable": [
										{
											"key": "appKey",
											"value": ""
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "查询操作结果",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "「超管accessToken」和「权限组accessToken」都可以调用，「权限组accessToken」须具有对应应用的操作权限。",
										"type": "text"
									}
								],
								"url": {
									"raw": "https://{{公有}}/operation/:requestId",
									"protocol": "https",
									"host": [
										"{{公有}}"
									],
									"path": [
										"operation",
										":requestId"
									],
									"variable": [
										{
											"key": "requestId",
											"value": "",
											"description": "添加数据等请求返回的requestId"
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "获取数据关联的内容（专）",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "仅「系统管理员accessToken」可以调用。",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"role\": \"\",  //发起请求的角色\n    \"pass\": \"\",  //申请人身份请求时如果表单有密码需要传入\n    \"auditNodeId\": 0,  //如果调用接口时使用了userId，指定了调用者的身份，需要传递当前处理所在的auditNodeId\n    \"searchKey\": \"\",  //需要搜索的关键字，对关联到的数据进行筛选\n    \"keyQueValues\": [{\n        \"keyQueId\": 0,  //作为筛选值的字段queId\n        \"ordinal\": 0,  //如果是表格子问题，为子问题所处表格行号\n        \"values\": []  //作为筛选值的问题的的答案，是一个字符串数组\n    }],\n    \"queryQuestions\": [{\n        \"queId\": 0,  //触发数据关联的字段queId\n        \"ordinal\": 0  //如果是表格子问题，为子问题所处表格行号\n    }]\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://{{专有}}/data/queRel",
									"protocol": "https",
									"host": [
										"{{专有}}"
									],
									"path": [
										"data",
										"queRel"
									]
								}
							},
							"response": []
						}
					]
				},
				{
					"name": "数据流程",
					"item": [
						{
							"name": "获取某条流程日志的详细信息",
							"protocolProfileBehavior": {
								"disableBodyPruning": true
							},
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "「超管accessToken」和「权限组accessToken」都可以调用，「权限组accessToken」须具有对应应用的权限。",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "https://{{公有}}/apply/:applyId/auditRecord/:auditRcdId",
									"protocol": "https",
									"host": [
										"{{公有}}"
									],
									"path": [
										"apply",
										":applyId",
										"auditRecord",
										":auditRcdId"
									],
									"variable": [
										{
											"key": "applyId",
											"value": null,
											"description": "数据的id"
										},
										{
											"key": "auditRcdId",
											"value": null,
											"description": "日志的id"
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "获取单条数据的流程日志",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "「超管accessToken」和「权限组accessToken」都可以调用，「权限组accessToken」须具有对应应用的权限。",
										"type": "text"
									}
								],
								"url": {
									"raw": "https://{{公有}}/apply/:applyId/auditRecord",
									"protocol": "https",
									"host": [
										"{{公有}}"
									],
									"path": [
										"apply",
										":applyId",
										"auditRecord"
									],
									"variable": [
										{
											"key": "applyId",
											"value": "",
											"description": "数据的id，必填"
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "处理单条数据",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "「超管accessToken」和「权限组accessToken」都可以调用，「权限组accessToken」须具有对应应用的权限。",
										"type": "text"
									},
									{
										"key": "userId",
										"value": "",
										"description": "要处理节点的负责人的外部用户ID",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"auditResult\": \"\",  //处理结果，必填\n    \"auditNodeId\": \"\",  //执行处理的处理节点id，必填\n    \"auditFeedback\": \"\"  //处理反馈内容\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://{{公有}}/:applyId/audit",
									"protocol": "https",
									"host": [
										"{{公有}}"
									],
									"path": [
										":applyId",
										"audit"
									],
									"variable": [
										{
											"key": "applyId",
											"value": null
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "催办某条数据",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"type": "text",
										"description": "「超管accessToken」和「权限组accessToken」都可以调用，「权限组accessToken」须具有对应应用的权限。"
									}
								],
								"url": {
									"raw": "https://{{公有}}/apply/:applyId/urge",
									"protocol": "https",
									"host": [
										"{{公有}}"
									],
									"path": [
										"apply",
										":applyId",
										"urge"
									],
									"variable": [
										{
											"key": "applyId",
											"value": "",
											"description": "数据的id"
										}
									]
								}
							},
							"response": []
						}
					]
				},
				{
					"name": "数据留言",
					"item": [
						{
							"name": "获取单条数据的留言信息",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "「超管accessToken」和「权限组accessToken」都可以调用，「权限组accessToken」须具有对应应用的权限。",
										"type": "text"
									}
								],
								"url": {
									"raw": "https://{{公有}}/apply/:applyId/comment?pageSize=&pageNum=",
									"protocol": "https",
									"host": [
										"{{公有}}"
									],
									"path": [
										"apply",
										":applyId",
										"comment"
									],
									"query": [
										{
											"key": "pageSize",
											"value": "",
											"description": "每页数据量"
										},
										{
											"key": "pageNum",
											"value": "",
											"description": "查询的页码，从1 开始"
										}
									],
									"variable": [
										{
											"key": "applyId",
											"value": "",
											"description": "数据的id"
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "新增留言",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "「超管accessToken」和「权限组accessToken」都可以调用，「权限组accessToken」须具有对应应用的权限。",
										"type": "text"
									},
									{
										"key": "userId",
										"value": "",
										"description": "发起留言的人的外部用户Id；userId为空时，默认使用工作区创建人的身份调用接口。",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"commentId\": 88888,  // 留言的id，添加时不用填\n    \"commentMsg\": \"\",  //留言内容,必填\n    \"mentionUserIds\": []  //被@的人的userId\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://{{公有}}/apply/:applyId/comment",
									"protocol": "https",
									"host": [
										"{{公有}}"
									],
									"path": [
										"apply",
										":applyId",
										"comment"
									],
									"variable": [
										{
											"key": "applyId",
											"value": null
										}
									]
								}
							},
							"response": []
						}
					]
				}
			]
		},
		{
			"name": "通讯录接口",
			"item": [
				{
					"name": "成员",
					"item": [
						{
							"name": "读取成员",
							"protocolProfileBehavior": {
								"disableBodyPruning": true
							},
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://{{公有}}/user/:userId",
									"protocol": "https",
									"host": [
										"{{公有}}"
									],
									"path": [
										"user",
										":userId"
									],
									"variable": [
										{
											"key": "userId",
											"value": ""
										}
									]
								},
								"description": "应用须拥有指定成员的查看权限。"
							},
							"response": []
						},
						{
							"name": "OIDC获取成员信息",
							"protocolProfileBehavior": {
								"disabledSystemHeaders": {},
								"disableBodyPruning": true
							},
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "oidctoken",
										"value": "",
										"type": "text",
										"description": "oidc认证授权后的token"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://{{公有}}/openApi/oidcAuthentication",
									"protocol": "https",
									"host": [
										"{{公有}}"
									],
									"path": [
										"openApi",
										"oidcAuthentication"
									]
								}
							},
							"response": []
						},
						{
							"name": "获取登录用code(专)",
							"event": [
								{
									"listen": "prerequest",
									"script": {
										"exec": [
											""
										],
										"type": "text/javascript"
									}
								}
							],
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"userId\":\"\"  //用户ID\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://{{专有}}/user/login",
									"protocol": "https",
									"host": [
										"{{专有}}"
									],
									"path": [
										"user",
										"login"
									]
								}
							},
							"response": []
						},
						{
							"name": "删除成员（专）",
							"request": {
								"method": "DELETE",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "「超管accessToken」和「权限组accessToken」都可以调用，「权限组accessToken」须具有通讯录权限。",
										"type": "text"
									}
								],
								"url": {
									"raw": "https://{{专有}}/user/:userId",
									"protocol": "https",
									"host": [
										"{{专有}}"
									],
									"path": [
										"user",
										":userId"
									],
									"variable": [
										{
											"key": "userId",
											"value": null
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "更新成员（专）",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "「超管accessToken」和「权限组accessToken」都可以调用，「权限组accessToken」须具有通讯录权限。",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"userId\": \"9018\",//必填\n    \"name\": \"\",\n    \"areaCode\": \"\",\n    \"mobileNum\": \"\",\n    \"email\": \"\",//邮箱，必填\n    \"headImg\": \"\",\n    \"department\":[],\n    \"role\": [],\n    \"customRole\": [],\n    \"customDepartment\": [],\n    \"beingDisabled\": \"\"  //是否禁用成员\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://{{专有}}/user/:userId",
									"protocol": "https",
									"host": [
										"{{专有}}"
									],
									"path": [
										"user",
										":userId"
									],
									"variable": [
										{
											"key": "userId",
											"value": "9018"
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "创建成员（专）",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "「超管accessToken」和「权限组accessToken」都可以调用，「权限组accessToken」须具有通讯录权限。",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"userId\": \"9018\",//必填\n    \"name\": \"\",\n    \"areaCode\": \"\",\n    \"mobileNum\": \"\",\n    \"email\": \"\",//邮箱，必填\n    \"headImg\": \"\",\n    \"department\":[],\n    \"role\": [],\n    \"customRole\": [],\n    \"customDepartment\": [],\n    \"beingDisabled\": \"\"  //是否禁用成员\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://{{专有}}/user",
									"protocol": "https",
									"host": [
										"{{专有}}"
									],
									"path": [
										"user"
									]
								}
							},
							"response": []
						},
						{
							"name": "批量创建成员（专）",
							"protocolProfileBehavior": {
								"disableBodyPruning": true
							},
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "「超管accessToken」和「权限组accessToken」都可以调用，「权限组accessToken」须具有通讯录权限。",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"members\"://必填\n    [\n\t\t{\n\t\t\"userId\": \"\",//用户的userId\n\t    \"name\": \"\",//用户名\n\t    \"areaCode\": \"\",//\n\t    \"mobileNum\": \"\",\n\t    \"email\": \"\",\n\t    \"headImg\": \"\",\n\t    \"department\":[],\n\t    \"role\": [],\n\t    \"customRole\": [],\n\t    \"customDepartment\": [],\n\t    \"beingDisabled\": \"\"//是否禁用成员\n\t\t}\n\t]\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://{{专有}}/user/batch",
									"protocol": "https",
									"host": [
										"{{专有}}"
									],
									"path": [
										"user",
										"batch"
									]
								}
							},
							"response": []
						},
						{
							"name": "获取工作区全部成员",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"type": "text"
									}
								],
								"url": {
									"raw": "https://{{公有}}/user?pageSize=20&pageNum=1",
									"protocol": "https",
									"host": [
										"{{公有}}"
									],
									"path": [
										"user"
									],
									"query": [
										{
											"key": "pageSize",
											"value": "20"
										},
										{
											"key": "pageNum",
											"value": "1"
										}
									]
								}
							},
							"response": []
						}
					]
				},
				{
					"name": "角色",
					"item": [
						{
							"name": "获取角色成员",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "「超管accessToken」和「权限组accessToken」都可以调用，「权限组accessToken」须具有通讯录权限。",
										"type": "text"
									}
								],
								"url": {
									"raw": "https://{{公有}}/role/:roleId/user",
									"protocol": "https",
									"host": [
										"{{公有}}"
									],
									"path": [
										"role",
										":roleId",
										"user"
									],
									"variable": [
										{
											"key": "roleId",
											"value": "",
											"description": "角色id，必填"
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "获取角色列表",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "「超管accessToken」和「权限组accessToken」都可以调用，「权限组accessToken」须具有通讯录权限。",
										"type": "text"
									}
								],
								"url": {
									"raw": "https://{{公有}}/role",
									"protocol": "https",
									"host": [
										"{{公有}}"
									],
									"path": [
										"role"
									]
								}
							},
							"response": []
						},
						{
							"name": "创建角色（专）",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "「超管accessToken」和「权限组accessToken」都可以调用，「权限组accessToken」须具有通讯录权限。",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"roleName\":  \"****\", //必填\n    \"roleId\": ****   //必填\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://{{专有}}/role",
									"protocol": "https",
									"host": [
										"{{专有}}"
									],
									"path": [
										"role"
									]
								}
							},
							"response": []
						},
						{
							"name": "更新角色（专）",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "「超管accessToken」和「权限组accessToken」都可以调用，「权限组accessToken」须具有通讯录权限。",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"roleName\":  \"****\",  //必填\n    \"roleId\": ****  //必填\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://{{专有}}/role/:roleId",
									"protocol": "https",
									"host": [
										"{{专有}}"
									],
									"path": [
										"role",
										":roleId"
									],
									"variable": [
										{
											"key": "roleId",
											"value": "",
											"description": "角色ID，必填"
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "删除角色（专）",
							"request": {
								"method": "DELETE",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "「超管accessToken」和「权限组accessToken」都可以调用，「权限组accessToken」须具有通讯录权限。",
										"type": "text"
									}
								],
								"url": {
									"raw": "https://{{专有}}/role/:roleId",
									"protocol": "https",
									"host": [
										"{{专有}}"
									],
									"path": [
										"role",
										":roleId"
									],
									"variable": [
										{
											"key": "roleId",
											"value": "",
											"description": "角色id，必填"
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "移除角色成员（专）",
							"request": {
								"method": "DELETE",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "「超管accessToken」和「权限组accessToken」都可以调用，「权限组accessToken」须具有通讯录权限。",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"roleId\":\"\",  //角色ID，必填;\n    \"userIds\":[]  //用户的userId集合，必填;\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://{{专有}}/role/:roleId/user",
									"protocol": "https",
									"host": [
										"{{专有}}"
									],
									"path": [
										"role",
										":roleId",
										"user"
									],
									"variable": [
										{
											"key": "roleId",
											"value": ""
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "增加角色成员（专）",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "「超管accessToken」和「权限组accessToken」都可以调用，「权限组accessToken」须具有通讯录权限。",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"roleId\":****,  //角色id，必填\n    \"userIds\":[****,****]  //用户的userId，必填\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://{{专有}}/role/:roleId/user",
									"protocol": "https",
									"host": [
										"{{专有}}"
									],
									"path": [
										"role",
										":roleId",
										"user"
									],
									"variable": [
										{
											"key": "roleId",
											"value": "",
											"description": "角色id，必填"
										}
									]
								}
							},
							"response": []
						}
					]
				},
				{
					"name": "部门",
					"item": [
						{
							"name": "获取部门的列表",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "「超管accessToken」和「权限组accessToken」都可以调用，「权限组accessToken」须具有通讯录权限。",
										"type": "text"
									}
								],
								"url": {
									"raw": "https://{{公有}}/department",
									"protocol": "https",
									"host": [
										"{{公有}}"
									],
									"path": [
										"department"
									]
								}
							},
							"response": []
						},
						{
							"name": "增加部门成员（专）",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "「超管accessToken」和「权限组accessToken」都可以调用，「权限组accessToken」须具有通讯录权限。",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"deptId\":666,  //部门id，必填\n    \"userIds\":[\"6819\",\"9054\"]  //用户的userId，必填\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://{{专有}}/department/:deptId/user",
									"protocol": "https",
									"host": [
										"{{专有}}"
									],
									"path": [
										"department",
										":deptId",
										"user"
									],
									"variable": [
										{
											"key": "deptId",
											"value": "",
											"description": "部门id，必填"
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "移除部门成员（专）",
							"request": {
								"method": "DELETE",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "「超管accessToken」和「权限组accessToken」都可以调用，「权限组accessToken」须具有通讯录权限。",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"deptId\":****,  //部门id，必填\n    \"userIds\":[\"****\",\"****\"] //用户的userId，必填\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://{{专有}}/department/:deptId/user",
									"protocol": "https",
									"host": [
										"{{专有}}"
									],
									"path": [
										"department",
										":deptId",
										"user"
									],
									"variable": [
										{
											"key": "deptId",
											"value": "",
											"description": "部门id，必填"
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "获取部门成员列表",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"type": "text",
										"description": "「超管accessToken」和「权限组accessToken」都可以调用，「权限组accessToken」须具有通讯录权限。"
									}
								],
								"url": {
									"raw": "https://{{公有}}/department/:deptId/user?fetchChild=true",
									"protocol": "https",
									"host": [
										"{{公有}}"
									],
									"path": [
										"department",
										":deptId",
										"user"
									],
									"query": [
										{
											"key": "fetchChild",
											"value": "true",
											"description": "是否递归获取子部门成员，填写true 或 false"
										}
									],
									"variable": [
										{
											"key": "deptId",
											"value": "",
											"description": "部门id，必填"
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "创建部门（专）",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "「超管accessToken」和「权限组accessToken」都可以调用，「权限组accessToken」须具有通讯录权限。",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"deptId\":****,  //部门id，必填\n    \"name\":\"****\",  //部门名称，必填\n    \"parentId\":****,\n    \"deptLeader\":[\"****\",\"****\"]\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://{{专有}}/department",
									"protocol": "https",
									"host": [
										"{{专有}}"
									],
									"path": [
										"department"
									]
								}
							},
							"response": []
						},
						{
							"name": "获取不在部门的成员",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "「超管accessToken」和「权限组accessToken」都可以调用，「权限组accessToken」须具有通讯录权限。",
										"type": "text"
									}
								],
								"url": {
									"raw": "https://{{公有}}/user/undeparted",
									"protocol": "https",
									"host": [
										"{{公有}}"
									],
									"path": [
										"user",
										"undeparted"
									]
								}
							},
							"response": []
						},
						{
							"name": "更新部门（专）",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "「超管accessToken」和「权限组accessToken」都可以调用，「权限组accessToken」须具有通讯录权限。",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"deptId\":****,  //部门id,必填\n    \"name\":\"****\",  //部门名称，必填\n    \"parentId\":****,\n    \"deptLeader\":[\"****\",\"****\"]\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://{{专有}}/department/:deptId",
									"protocol": "https",
									"host": [
										"{{专有}}"
									],
									"path": [
										"department",
										":deptId"
									],
									"variable": [
										{
											"key": "deptId",
											"value": "",
											"description": "部门id"
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "删除部门（专）",
							"request": {
								"method": "DELETE",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "「超管accessToken」和「权限组accessToken」都可以调用，「权限组accessToken」须具有通讯录权限。",
										"type": "text"
									}
								],
								"url": {
									"raw": "https://{{专有}}/department/:deptId",
									"protocol": "https",
									"host": [
										"{{专有}}"
									],
									"path": [
										"department",
										":deptId"
									],
									"variable": [
										{
											"key": "deptId",
											"value": "",
											"description": "部门id，必填"
										}
									]
								}
							},
							"response": []
						}
					]
				},
				{
					"name": "管理员",
					"item": [
						{
							"name": "获取管理员列表",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "仅「超管accessToken」拥有调用权限。",
										"type": "text"
									}
								],
								"url": {
									"raw": "https://{{公有}}/manager/super",
									"protocol": "https",
									"host": [
										"{{公有}}"
									],
									"path": [
										"manager",
										"super"
									],
									"query": [
										{
											"key": "",
											"value": "",
											"disabled": true
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "增加管理员（专）",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "仅「超管accessToken」拥有调用权限。",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n\t\"managerUserIds\": []  //管理员ID\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://{{专有}}/manager/super",
									"protocol": "https",
									"host": [
										"{{专有}}"
									],
									"path": [
										"manager",
										"super"
									]
								}
							},
							"response": []
						},
						{
							"name": "删除管理员（专）",
							"request": {
								"method": "DELETE",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "仅「超管accessToken」拥有调用权限。",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"managerUserIds\":[]  // 管理员的userId列表\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://{{专有}}/manager/super",
									"protocol": "https",
									"host": [
										"{{专有}}"
									],
									"path": [
										"manager",
										"super"
									]
								}
							},
							"response": []
						}
					]
				},
				{
					"name": "子管理员",
					"item": [
						{
							"name": "获取子管理员配置接口",
							"protocolProfileBehavior": {
								"disableBodyPruning": true
							},
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://{{公有}}/manager/sub",
									"protocol": "https",
									"host": [
										"{{公有}}"
									],
									"path": [
										"manager",
										"sub"
									]
								}
							},
							"response": []
						},
						{
							"name": "更新子管理员（专）",
							"request": {
								"method": "PUT",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "仅「超管accessToken」拥有调用权限。",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n\t\"submanamerName\":\"测试2\",  //子管理员名称\n\t\"submanamerauthMembers\":\n        {\n        \"userId\":null,\n        \"departId\":null,\n        \"roleId\":null,\n\t    \"includeSubDeparts\":\"\"  //是否动态包含已选部门下的子部门。如果depart参数有值，则必填\n\t    },\n\t\"authAppConfig\":\n        {\n\t\t\"beingAuthApp\":\"false\",  //应用权限是否开启，必填\n\t\t\"beingEditApp\":\"false\",  //编辑应用是否开启，必填\n\t\t\"beingAddApp\":\"false\",  //添加应用是否开启，必填\n\t\t\"beingDelApp\":\"false\",  //删除应用是否开启，必填\n\t\t\"beingDataManage\":\"false\",  //数据管理是否开启，必填\n\t\t\"authScope\":\n            {\n      \t\t\"appKeys\":null,\n\t\t\t\"dashKeys\":null,\n\t\t\t\"tagIds\":null\n\t\t    }\n        },\n    \"authContactConfig\":\n        {\n    \t\"beingAuthContact\":\"false\"  // 通讯录权限是否开启\n\t\t}\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://{{专有}}/manager/sub/:subManagerId",
									"protocol": "https",
									"host": [
										"{{专有}}"
									],
									"path": [
										"manager",
										"sub",
										":subManagerId"
									],
									"variable": [
										{
											"key": "subManagerId",
											"value": ""
										}
									]
								},
								"description": "所有参数：  \n1、不传/传null，如\"userIds\":null时，不更新现有配置；  \n2、传空字符串，如\"userIds\":\\[\\]时，表示删除全部成员；  \n3、传具体值，如\"userIds\":\\[1,2,3\\]时，表示更新成员为：1、2、3。"
							},
							"response": []
						},
						{
							"name": "创建子管理员（专）",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "仅「超管accessToken」拥有调用权限。",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n\t\"submanamerName\":\"测试2\",  //子管理员名称\n\t\"submanamerauthMembers\":\n        {\n        \"userId\":null,\n        \"departId\":null,\n        \"roleId\":null,\n\t    \"includeSubDeparts\":\"\"  //是否动态包含已选部门下的子部门。如果depart参数有值，则必填\n\t    },\n\t\"authAppConfig\":\n        {\n\t\t\"beingAuthApp\":\"false\",  //应用权限是否开启，必填\n\t\t\"beingEditApp\":\"false\",  //编辑应用是否开启，必填\n\t\t\"beingAddApp\":\"false\",  //添加应用是否开启，必填\n\t\t\"beingDelApp\":\"false\",  //删除应用是否开启，必填\n\t\t\"beingDataManage\":\"false\",  //数据管理是否开启，必填\n\t\t\"authScope\":\n            {\n      \t\t\"appKeys\":null,\n\t\t\t\"dashKeys\":null,\n\t\t\t\"tagIds\":null\n\t\t    }\n        },\n    \"authContactConfig\":\n        {\n    \t\"beingAuthContact\":\"false\"  // 通讯录权限是否开启\n\t\t}\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://{{专有}}/manager/sub",
									"protocol": "https",
									"host": [
										"{{专有}}"
									],
									"path": [
										"manager",
										"sub"
									]
								}
							},
							"response": []
						},
						{
							"name": "删除子管理员（专）",
							"request": {
								"method": "DELETE",
								"header": [
									{
										"key": "accessToken",
										"value": "",
										"description": "仅「超管accessToken」拥有调用权限。",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"subManagerIds\":[]  //subManagerId集合\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://{{专有}}/manager/sub",
									"protocol": "https",
									"host": [
										"{{专有}}"
									],
									"path": [
										"manager",
										"sub"
									]
								}
							},
							"response": []
						}
					]
				}
			]
		},
		{
			"name": "任务委托",
			"item": [
				{
					"name": "获取委托列表",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "accessToken",
								"value": "",
								"description": "「超管accessToken」和「权限组accessToken」都可以调用，「权限组accessToken」须具有相关权限。",
								"type": "text"
							}
						],
						"url": {
							"raw": "https://{{公有}}/delegate?type=&userId=&pageSize&pageNum=",
							"protocol": "https",
							"host": [
								"{{公有}}"
							],
							"path": [
								"delegate"
							],
							"query": [
								{
									"key": "type",
									"value": "",
									"description": "委托类型；1:委托任务，2:受委托任务"
								},
								{
									"key": "userId",
									"value": "",
									"description": "用户的userId"
								},
								{
									"key": "pageSize",
									"value": "",
									"description": "每页数量"
								},
								{
									"key": "pageNum",
									"value": "",
									"description": "起始页码"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "新增委托（专）",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "",
								"value": "",
								"description": "「超管accessToken」和「权限组accessToken」都可以调用，「权限组accessToken」须具有相关权限。",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"delegatesUserIds\":[],  //所有委托人的userId\n    \"delegatedTagIds\":[],  //委托的应用包id数组\n    \"delegatedAppKeys\":[],  //委托的应用appkey数组\n    \"startTime\":\"\",  //委托开始时间\n    \"endTime\":\"\",  //委托结束时间\n    \"userId\":\"\"  //发起委托的用户id\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "https://{{专有}}/delegate",
							"protocol": "https",
							"host": [
								"{{专有}}"
							],
							"path": [
								"delegate"
							]
						}
					},
					"response": []
				},
				{
					"name": "结束一个委托（专）",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "accessToken",
								"value": "",
								"description": "「超管accessToken」和「权限组accessToken」都可以调用，「权限组accessToken」须具有相应应用权限。",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n\"delegateId\":\"\",  //任务委托id，必填\n\"userId\":\"\"  //必填\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "https://{{专有}}/delegate/terminate",
							"protocol": "https",
							"host": [
								"{{专有}}"
							],
							"path": [
								"delegate",
								"terminate"
							]
						}
					},
					"response": []
				}
			]
		}
	],
	"event": [
		{
			"listen": "prerequest",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		},
		{
			"listen": "test",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		}
	],
	"variable": [
		{
			"key": "专有",
			"value": "自有域名/openApi"
		},
		{
			"key": "公有",
			"value": "api.qingflow.com"
		},
		{
			"key": "钉钉",
			"value": "api.ding.qingflow.com"
		},
		{
			"key": "accessToken",
			"value": ""
		}
	]
}