查询用户上级
简述:
查询用户上级
请求URL:
- http://ip:port/iform/platform/v3/employee/findSuperiors
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
employeeId | String | 是 | 用户id |
- Body:
暂无
请求参数示例:
http://ip:port/iform/platform/v3/employee/findSuperiors?employeeId=643520420418420736
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": [
{
"pk": "",
"name": "tom",
"ip": null,
"createBy": null,
"createTime": "2019-10-10 14:15:11",
"updateBy": null,
"updateTime": "2019-11-16 11:11:25",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "631857264696754176",
"partyType": null,
"alias": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"profile": null,
"status": "actived",
"gender": "male",
"email": "tomchil@qq.com",
"address": null,
"mobile": "",
"qq": null,
"photo": "",
"positions": null,
"groupID": "638426541465796608",
"wcAccount": null,
"account": "tom",
"isSuper": "Y",
"orgName": "产品二部",
"isMainPost": null,
"isPrincipal": null,
"pinYinHeadChar": "tom",
"source": null
}
]
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | List< PartyEmployeePo > | 用户对象信息列表 |
查询用户下级
简述:
查询用户下级
请求URL:
- http://ip:port/iform/platform/v3/employee/findUnders
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
employeeId | String | 是 | 用户id |
- Body:
暂无
请求参数示例:
http://ip:port/iform/platform/v3/employee/findUnders?employeeId=631857264696754176
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": [
{
"pk": "",
"name": "SHAAN",
"ip": null,
"createBy": null,
"createTime": "2019-11-11 18:42:26",
"updateBy": null,
"updateTime": "2019-11-14 16:16:56",
"tenantId": "0",
"dataStatus": null,
"dbtype": null,
"id": "643520932782014464",
"partyType": null,
"alias": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"profile": null,
"status": "actived",
"gender": "female",
"email": "4545452@qq.com",
"address": "1",
"mobile": "",
"qq": "",
"photo": "",
"positions": "625703469629571072",
"groupID": "643519256763301888",
"wcAccount": "1",
"account": "ssdsgf",
"isSuper": "N",
"orgName": "点22",
"isMainPost": null,
"isPrincipal": null,
"pinYinHeadChar": "SHAAN",
"source": null
},
{
"pk": "",
"name": "阿珊",
"ip": null,
"createBy": null,
"createTime": "2019-11-11 18:40:24",
"updateBy": null,
"updateTime": null,
"tenantId": "0",
"dataStatus": null,
"dbtype": null,
"id": "643520420418420736",
"partyType": null,
"alias": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"profile": null,
"status": "actived",
"gender": "female",
"email": "54545@qq.com",
"address": null,
"mobile": "",
"qq": null,
"photo": "",
"positions": null,
"groupID": "643519054715289600",
"wcAccount": null,
"account": "ashan",
"isSuper": "N",
"orgName": "一组点1",
"isMainPost": null,
"isPrincipal": null,
"pinYinHeadChar": "as",
"source": null
},
{
"pk": "",
"name": "EVA",
"ip": null,
"createBy": null,
"createTime": "2019-10-11 09:54:08",
"updateBy": null,
"updateTime": "2019-11-08 10:41:45",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "632153957724061696",
"partyType": null,
"alias": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"profile": null,
"status": "actived",
"gender": "female",
"email": "2045@qq.com",
"address": null,
"mobile": "",
"qq": null,
"photo": "",
"positions": "",
"groupID": "642312718522515456",
"wcAccount": null,
"account": "Bella6",
"isSuper": "Y",
"orgName": "上个的",
"isMainPost": null,
"isPrincipal": null,
"pinYinHeadChar": "EVA",
"source": null
}
]
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | List< PartyEmployeePo > | 用户对象信息列表 |
获取员工信息
简述:
获取员工信息
请求URL:
- http://ip:port/iform/platform/v3/employee/get
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
employeeId | String | 是 | 用户id |
- Body:
暂无
请求参数示例:
http://ip:port/iform/platform/v3/employee/get?employeeId={{employeeId}}
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"pk": "",
"name": "tom",
"ip": null,
"createBy": null,
"createTime": "2019-10-10 14:15:11",
"updateBy": null,
"updateTime": "2019-11-16 11:11:25",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "631857264696754176",
"partyType": null,
"alias": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"profile": null,
"status": "actived",
"gender": "male",
"email": "tomchil@qq.com",
"address": null,
"mobile": "",
"qq": null,
"photo": "",
"positions": null,
"groupID": "638426541465796608",
"wcAccount": null,
"account": "tom",
"isSuper": "Y",
"orgName": "产品二部",
"isMainPost": null,
"isPrincipal": null,
"pinYinHeadChar": "tom",
"source": null
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | List< PartyEmployeePo > | 用户对象信息列表 |
获取员工信息附带组织名称
简述:
获取员工信息附带组织名称
请求URL:
- http://ip:port/iform/platform/v3/employee/getWithOrg
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
employeeId | String | 是 | 用户id |
- Body:
暂无
请求参数示例:
http://ip:port/iform/platform/v3/employee/getWithOrg?employeeId={{employeeId}}
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"pk": "",
"name": "tom",
"ip": null,
"createBy": null,
"createTime": "2019-10-10 14:15:11",
"updateBy": null,
"updateTime": "2019-11-16 11:11:25",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "631857264696754176",
"partyType": null,
"alias": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"profile": null,
"status": "actived",
"gender": "male",
"email": "tomchil@qq.com",
"address": null,
"mobile": "",
"qq": null,
"photo": "",
"positions": null,
"groupID": "638426541465796608",
"wcAccount": null,
"account": "tom",
"isSuper": "Y",
"orgName": "产品二部",
"isMainPost": null,
"isPrincipal": null,
"pinYinHeadChar": "tom",
"source": null
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | List< PartyEmployeePo > | 用户对象信息列表 |
是否主岗位或主负责人
简述:
是否主岗位或主负责人
请求URL:
- http://ip:port/iform/platform/v3/employee/isMainPositionOrPrincipal
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
positionId | String | 是 | 岗位ID | ||
userId | String | 是 | 用户ID | ||
biz | String | 是 | 关系value |
- Body:
暂无
请求参数示例:
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": false
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Boolean |
加载员工信息
简述:
加载员工信息
请求URL:
- http://ip:port/iform/platform/v3/employee/load
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
employeeId | String | 是 | 用户ID |
- Body:
暂无
请求参数示例:
http://ip:port/iform/platform/v3/employee/load?employeeId=631857264696754176
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {
"partyAttrs": [
{
"pk": "",
"name": "员工查询",
"ip": null,
"createBy": null,
"createTime": "2019-10-14 10:30:10",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "633250188504334336",
"key": "ygcx",
"partyType": "employee",
"type": "query",
"dataType": "STRING",
"isMulti": "N",
"partyTypeName": "员工",
"typeName": "查询属性",
"dataTypeName": "字符串",
"options": [],
"values": [
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": "2019-11-12 14:58:30",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "643826962984337408",
"partyID": "631857264696754176",
"attrID": "633250188504334336",
"value": "1"
}
]
},
{
"pk": "",
"name": "测试",
"ip": null,
"createBy": null,
"createTime": "2019-10-24 11:10:01",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "636884095816695808",
"key": "cs",
"partyType": "employee",
"type": "desc",
"dataType": "STRING",
"isMulti": "N",
"partyTypeName": "员工",
"typeName": "描述属性",
"dataTypeName": "字符串",
"options": [],
"values": [
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": "2019-11-12 14:58:30",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "643826963005308928",
"partyID": "631857264696754176",
"attrID": "636884095816695808",
"value": "2"
}
]
},
{
"pk": "",
"name": "test1",
"ip": null,
"createBy": null,
"createTime": "2019-10-31 16:27:20",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "639500665311199232",
"key": "test1",
"partyType": "employee",
"type": "desc",
"dataType": "OPTION",
"isMulti": "N",
"partyTypeName": "员工",
"typeName": "描述属性",
"dataTypeName": "选项",
"options": [
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": "2019-10-31 16:27:20",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "639500665495748608",
"attrID": "639500665311199232",
"groupName": "选项1",
"value": "value1"
},
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": "2019-10-31 16:27:20",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "639500665588023296",
"attrID": "639500665311199232",
"groupName": "选项2",
"value": "value2"
}
],
"values": [
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": "2019-11-12 14:58:30",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "643826963017891840",
"partyID": "631857264696754176",
"attrID": "639500665311199232",
"value": "value1"
}
]
},
{
"pk": "",
"name": "士大夫",
"ip": null,
"createBy": null,
"createTime": "2019-11-08 11:36:20",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "642326537328132096",
"key": "sdf112",
"partyType": "employee",
"type": "desc",
"dataType": "OPTION",
"isMulti": "Y",
"partyTypeName": "员工",
"typeName": "描述属性",
"dataTypeName": "选项",
"options": [
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": "2019-11-08 11:36:20",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "642326537462349824",
"attrID": "642326537328132096",
"groupName": "案案发时",
"value": "321"
}
],
"values": [
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": "2019-11-12 14:58:30",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "643826963034669056",
"partyID": "631857264696754176",
"attrID": "642326537328132096",
"value": "321"
}
]
},
{
"pk": "",
"name": "测试1",
"ip": null,
"createBy": null,
"createTime": "2019-11-14 16:16:02",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "644571252580679680",
"key": "cs1",
"partyType": "employee",
"type": "query",
"dataType": "STRING",
"isMulti": "N",
"partyTypeName": "员工",
"typeName": "查询属性",
"dataTypeName": "字符串",
"options": [],
"values": []
},
{
"pk": "",
"name": "测试2",
"ip": null,
"createBy": null,
"createTime": "2019-11-14 16:16:30",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "644571370885218304",
"key": "cs2",
"partyType": "employee",
"type": "desc",
"dataType": "STRING",
"isMulti": "N",
"partyTypeName": "员工",
"typeName": "描述属性",
"dataTypeName": "字符串",
"options": [],
"values": []
}
],
"partyGroups": [],
"userSecurity": null,
"partyPositions": null,
"partyUser": {
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": "2019-10-10 14:15:11",
"updateBy": null,
"updateTime": "2019-11-12 14:58:30",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "631857264696754176",
"account": "tom",
"password": "ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs=",
"isSuper": "Y",
"dataCheck": "465TpJojm3iuNgXyI0vnAK8cbF/idAqrII/tQEz5S9E=",
"wcAccount": null,
"fullname": null,
"userId": "631857264696754176",
"super": true,
"email": null,
"photo": null,
"mobile": null
},
"partyOrg": {
"pk": "",
"name": "产品二部",
"ip": null,
"createBy": null,
"createTime": "2019-10-28 17:19:09",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "638426541465796608",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "625695402980540416",
"roleIDs": null,
"orgAlias": "cpeb",
"status": "actived",
"level": null,
"pathName": "广州安可信息.产品二部.",
"hasChild": false
},
"partyRoles": []
},
"data": {
"pk": "",
"name": "tom",
"ip": null,
"createBy": null,
"createTime": "2019-10-10 14:15:11",
"updateBy": null,
"updateTime": "2019-11-16 11:11:25",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "631857264696754176",
"partyType": null,
"alias": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"profile": null,
"status": "actived",
"gender": "male",
"email": "tomchil@qq.com",
"address": null,
"mobile": "",
"qq": null,
"photo": "",
"positions": null,
"groupID": "638426541465796608",
"wcAccount": null,
"account": "tom",
"isSuper": "Y",
"orgName": "产品二部",
"isMainPost": null,
"isPrincipal": null,
"pinYinHeadChar": "tom",
"source": null
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | PartyEmployeePo | 用户对象信息 |
获取角色人员数据
简述:
获取角色人员数据
请求URL:
- http://ip:port/iform/platform/v3/employee/queryByRoleId
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
POST
**请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
request | APIRequest[1] | 是 | 动态查询请求对象 |
请求参数示例:
{
"parameters": [
{
"key": "roleId",
"value": "466555953945247744"
}
],
"requestPage": {
"pageNo": 1,
"limit": 20
},
"sorts": []
}
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"dataResult": [
{
"pk": "",
"name": "产品经理",
"ip": null,
"createBy": null,
"createTime": "2019-09-26 15:06:46",
"updateBy": null,
"updateTime": "2019-11-11 17:56:59",
"tenantId": "0",
"dataStatus": null,
"dbtype": null,
"id": "626796813873053696",
"partyType": null,
"alias": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"profile": null,
"status": "actived",
"gender": "female",
"email": "201623@qq.com",
"address": null,
"mobile": "",
"qq": null,
"photo": "/file/getImage?attachmentId=626871012339744768",
"positions": null,
"groupID": "639788136741732352",
"wcAccount": null,
"account": "Bella1",
"isSuper": "N",
"orgName": "产品2组",
"isMainPost": null,
"isPrincipal": null,
"pinYinHeadChar": "cpjl",
"source": "role"
}
],
"pageResult": {
"limit": 20,
"page": 1,
"totalCount": 1,
"totalPages": 1
}
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | APIPageList< PartyEmployeePo > | 用户对象信息列表 |
获取组织负责人列表
简述:
获取组织负责人列表
请求URL:
- http://ip:port/iform/platform/v3/employee/queryOrgManager
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
request | APIRequest[1] | 是 | 动态查询请求对象 |
请求参数示例:
{
"parameters": [
{
"key": "Q^NAME_^SL",
"value": "tom"
}
],
"requestPage": {
"pageNo": 1,
"limit": 20
},
"sorts": []
}
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"dataResult": [
{
"pk": "",
"name": "tom",
"ip": null,
"createBy": null,
"createTime": "2019-10-10 14:15:11",
"updateBy": null,
"updateTime": "2019-11-16 11:11:25",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "631857264696754176",
"partyType": null,
"alias": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"profile": null,
"status": "actived",
"gender": "male",
"email": "tomchil@qq.com",
"address": null,
"mobile": "",
"qq": null,
"photo": "",
"positions": null,
"groupID": "638426541465796608",
"wcAccount": null,
"account": "tom",
"isSuper": "Y",
"orgName": "广州安可信息.产品二部.",
"isMainPost": null,
"isPrincipal": null,
"pinYinHeadChar": "tom",
"source": null
}
],
"pageResult": {
"limit": 20,
"page": 1,
"totalCount": 1,
"totalPages": 1
}
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | APIPageList< PartyEmployeePo > | 用户对象信息列表 |
组织人员列表
简述:
根据传入参数查询,并返回组织人员列表
请求URL:
- http://ip:port/iform/platform/v3/employee/queryOrgUser
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
request | APIRequest[1] | 是 | 动态查询请求对象 |
请求参数示例:
{
"parameters": [
{
"key": "Q^NAME_^SL",
"value": "tom"
}
],
"requestPage": {
"pageNo": 1,
"limit": 20
},
"sorts": []
}
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"dataResult": [
{
"pk": "",
"name": "tom",
"ip": null,
"createBy": null,
"createTime": "2019-10-10 14:15:11",
"updateBy": null,
"updateTime": "2019-11-16 11:11:25",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "631857264696754176",
"partyType": null,
"alias": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"profile": null,
"status": "actived",
"gender": "male",
"email": "tomchil@qq.com",
"address": null,
"mobile": "",
"qq": null,
"photo": "",
"positions": null,
"groupID": "638426541465796608",
"wcAccount": null,
"account": "tom",
"isSuper": "Y",
"orgName": "产品二部",
"isMainPost": null,
"isPrincipal": null,
"pinYinHeadChar": "tom",
"source": null
}
],
"pageResult": {
"limit": 20,
"page": 1,
"totalCount": 1,
"totalPages": 1
}
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | APIPageList< PartyEmployeePo > | 用户对象信息列表 |
员工上级列表分页
简述:
根据传入参数查询,并返回员工上级列表
请求URL:
- http://ip:port/iform/platform/v3/employee/querySuperior
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
request | APIRequest[1] | 是 | 动态查询请求对象 |
请求参数示例:
{
"parameters": [
{
"key": "Q^SUB_PID_^S",
"value": "643520420418420736"
}
],
"requestPage": {
"pageNo": 1,
"limit": 20,
"totalCount": 0
},
"sorts": []
}
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"dataResult": [
{
"pk": "",
"name": "tom",
"ip": null,
"createBy": null,
"createTime": "2019-10-10 14:15:11",
"updateBy": null,
"updateTime": "2019-11-16 11:11:25",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "631857264696754176",
"partyType": null,
"alias": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"profile": null,
"status": "actived",
"gender": "male",
"email": "tomchil@qq.com",
"address": null,
"mobile": "",
"qq": null,
"photo": "",
"positions": null,
"groupID": "638426541465796608",
"wcAccount": null,
"account": "tom",
"isSuper": "Y",
"orgName": "产品二部",
"isMainPost": null,
"isPrincipal": null,
"pinYinHeadChar": "tom",
"source": null
}
],
"pageResult": {
"limit": 20,
"page": 1,
"totalCount": 1,
"totalPages": 1
}
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | APIPageList< PartyEmployeePo > | 用户对象信息列表 |
员工下属列表分页
简述:
根据传入参数查询,并返回员工下属列表
请求URL:
- http://ip:port/iform/platform/v3/employee/queryUnder
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
request | APIRequest[1] | 是 | 动态查询请求对象 |
请求参数示例:
{
"parameters": [
{
"key": "Q^MAIN_PID_^S",
"value": "1"
}
],
"requestPage": {
"pageNo": 1,
"limit": 20
},
"sorts": []
}
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"dataResult": [
{
"pk": "",
"name": "ccc管理员",
"ip": null,
"createBy": null,
"createTime": "2019-10-14 11:56:24",
"updateBy": null,
"updateTime": "2019-11-18 10:18:02",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "633271888658825216",
"partyType": null,
"alias": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"profile": null,
"status": "actived",
"gender": "male",
"email": "a@q.cn",
"address": null,
"mobile": "",
"qq": null,
"photo": "/file/getImage?attachmentId=626357504825098240",
"positions": "636222302144430080",
"groupID": "625695342267990016",
"wcAccount": null,
"account": "ccc",
"isSuper": "Y",
"orgName": "广州流辰信息",
"isMainPost": null,
"isPrincipal": null,
"pinYinHeadChar": "cccgly",
"source": null
}
],
"pageResult": {
"limit": 20,
"page": 1,
"totalCount": 1,
"totalPages": 1
}
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | APIPageList< PartyEmployeePo > | 用户对象信息列表 |
员工列表(带组织名称)
简述:
根据传入参数查询,并返回员工列表(带组织名称)
请求URL:
- http://ip:port/iform/platform/v3/employee/queryWithOrg
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
request | APIRequest[1] | 是 | 动态查询请求对象 |
请求参数示例:
{
"parameters": [
{
"key": "Q^NAME_^S",
"value": "tom"
}
],
"requestPage": {
"pageNo": 1,
"limit": 20
},
"sorts": []
}
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"dataResult": [
{
"pk": "",
"name": "tom",
"ip": null,
"createBy": null,
"createTime": "2019-10-10 14:15:11",
"updateBy": null,
"updateTime": "2019-11-16 11:11:25",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "631857264696754176",
"partyType": null,
"alias": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"profile": null,
"status": "actived",
"gender": "male",
"email": "tomchil@qq.com",
"address": null,
"mobile": "",
"qq": null,
"photo": "",
"positions": null,
"groupID": "638426541465796608",
"wcAccount": null,
"account": "tom",
"isSuper": "Y",
"orgName": "广州安可信息.产品二部.",
"isMainPost": null,
"isPrincipal": null,
"pinYinHeadChar": "tom",
"source": null
}
],
"pageResult": {
"limit": 20,
"page": 1,
"totalCount": 1,
"totalPages": 1
}
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | APIPageList< PartyEmployeePo > | 用户对象信息列表 |
员工列表分页(带组织名称)
简述:
根据传入参数查询,并返回员工列表(带组织名称)
请求URL:
- http://ip:port/iform/platform/v3/employee/queryWithOrg4Position
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
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": "2019-11-11 18:40:24",
"updateBy": null,
"updateTime": null,
"tenantId": "0",
"dataStatus": null,
"dbtype": null,
"id": "643520420418420736",
"partyType": null,
"alias": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"profile": null,
"status": "actived",
"gender": "female",
"email": "54545@qq.com",
"address": null,
"mobile": "",
"qq": null,
"photo": "",
"positions": null,
"groupID": "643519054715289600",
"wcAccount": null,
"account": "ashan",
"isSuper": "N",
"orgName": "广州安可信息.产品二部.产品一组1.一组点1.",
"isMainPost": null,
"isPrincipal": null,
"pinYinHeadChar": "as",
"source": null
}
],
"pageResult": {
"limit": 20,
"page": 1,
"totalCount": 1,
"totalPages": 1
}
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
dataResult | List< PartyEmployeePo > | 员工列表数据 |
pageResult | Object | 分页数据 |
未分配组织的员工列表分页
简述:
根据传入参数查询,并返回未分配组织员工列表
请求URL:
- http://ip:port/iform/platform/v3/employee/queryWoutOrg
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
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": "2019-10-24 11:10:01",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "636884095816695808",
"key": "cs",
"partyType": "employee",
"type": "desc",
"dataType": "STRING",
"isMulti": "N",
"partyTypeName": "员工",
"typeName": "描述属性",
"dataTypeName": "字符串",
"options": null,
"values": null
}
],
"pageResult": {
"limit": 20,
"page": 1,
"totalCount": 1,
"totalPages": 1
}
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
dataResult | List< PartyEmployeePo > | 员工列表数据 |
pageResult | Object | 分页数据 |
删除用户信息
简述:
批量删除用户信息
请求URL:
- http://ip:port/iform/platform/v3/employee/remove
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
employeeIds | List< String > | 是 | 用户ID |
- Body:
暂无
请求参数示例:
{
http://ip:port/iform/platform/v3/employee/remove?employeeIds=646754409409150976,64675
}
返回示例:
{
"state": 200,
"request": null,
"message": "删除用户信息成功",
"cause": "",
"variables": {},
"data": {}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Void |
撤销用户主岗位
简述:
撤销用户主岗位
请求URL:
- http://ip:port/iform/platform/v3/employee/removeMainPosition
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
positionId | String | 是 | 岗位ID | ||
userId | String | 是 | 用户ID |
- Body:
暂无
请求参数示例:
{
http://ip:port/iform/platform/v3/employee/removeMainPosition?positionId=123&userId=321
}
返回示例:
{
"state": 200,
"request": null,
"message": "撤销用户主岗位成功",
"cause": "",
"variables": {},
"data": {}
}
**返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Void |
移除组织负责人
简述:
移除组织负责人
请求URL:
- http://ip:port/iform/platform/v3/employee/removeOrgManager
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
orgId | String | 是 | 组织ID | ||
userIds | String | 是 | 用户ID |
- Body:
暂无
请求参数示例:
{
http://ip:port/iform/platform/v3/employee/removeOrgManager?orgId=1&userIds=123
}
返回示例:
{
"state": 200,
"request": null,
"message": "移除组织负责人成功",
"cause": "",
"variables": {},
"data": {}
}
**返回参数说明:
名称 | 类型 备注 |
---|---|
data | Void |
移除组织人员
简述:
移除组织人员
请求URL:
- http://ip:port/iform/platform/v3/employee/removeOrgUser
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
POST
请求参数:
- Headers:
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息
| X-Authorization-access_token | String | 是 | | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
orgId | String | 是 | 组织ID | ||
userIds | String | 是 | 用户ID |
- Body:
暂无
请求参数示例:
{
http://ip:port/iform/platform/v3/employee/removeOrgUser?orgId=123&userIds=321
}
返回示例:
{
"state": 200,
"request": null,
"message": "移除组织人员成功",
"cause": "",
"variables": {},
"data": {}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Void |
移除岗位人员
简述:
移除岗位人员
请求URL:
- http://ip:port/iform/platform/v3/employee/removePositionUser
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
positionId | String | 是 | 岗位ID | ||
userIds | String | 是 | 用户ID |
- Body:
暂无
请求参数示例:
{
http://ip:port/iform/platform/v3/employee/removePositionUser?positionId=123&userIds=321
}
返回示例:
{
"state": 200,
"request": null,
"message": "移除岗位人员成功",
"cause": "",
"variables": {},
"data": {}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Void |
撤销用户岗位负责人
简述:
撤销用户岗位负责人
请求URL:
- http://ip:port/iform/platform/v3/employee/removePositionUser
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
positionId | String | 是 | 岗位ID | ||
userIds | String | 是 | 用户ID |
- Body:
暂无
请求参数示例:
{
http://ip:port/iform/platform/v3/employee/removePrincipal?positionId=123&userId=321
}
返回示例:
{
"state": 200,
"request": null,
"message": "撤销用户岗位负责人",
"cause": "",
"variables": {},
"data": {}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Void |
移除员工下属
简述:
移除员工下属
请求URL:
http://ip:port/iform/platform/v3/employee/removeUnder
URL中的ip需要替换为自己网关ip
URL中的port需要替换为自己网关端口
请求方式:
POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
positionId | String | 是 | 岗位ID | ||
userIds | String | 是 | 用户ID |
- Body:
暂无
请求参数示例:
{
http://ip:port/iform/platform/v3/employee/removeUnder?employeeId=123&underIds=321
}
返回示例:
{
"state": 200,
"request": null,
"message": "移除员工下属成功",
"cause": "",
"variables": {},
"data": {}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Void |
获取用户列表
简述:
获取用户,主要用于移动端
请求URL:
http://ip:port/iform/platform/v3/employee/queryByOrgIdOrName
URL中的ip需要替换为自己网关ip
URL中的port需要替换为自己网关端口
请求方式:
POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
request | APIRequest[1] | 是 | 动态查询请求对象 | ||
name | String | 否 | 名称 | request.parameters的参数 | |
orgId | String | 否 | 组织ID | request.parameters的参数 |
请求参数示例:
{
"parameters": [{
"key":"name",
"value":"ccc"
}],
"requestPage": {
"pageNo": 1,
"limit": 20
},
"sorts": []
}
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"dataResult": [{
"pk": "",
"name": "ccc管理员",
"ip": null,
"createBy": null,
"createTime": "2019-10-14 11:56:24",
"updateBy": null,
"updateTime": "2019-10-30 15:38:00",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "633271888658825216",
"partyType": null,
"alias": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"profile": null,
"status": "actived",
"gender": "male",
"email": "a@q.cn",
"address": null,
"mobile": "",
"qq": null,
"photo": "/file/getImage?attachmentId=626357504825098240",
"positions": "",
"groupID": "625703060408107008",
"wcAccount": null,
"account": "ccc",
"isSuper": "Y",
"orgName": "技术部",
"isMainPost": null,
"isPrincipal": null,
"pinYinHeadChar": "cccgly",
"source": null
}, {
"pk": "",
"name": "管理员",
"ip": null,
"createBy": null,
"createTime": "2016-08-26 09:48:29",
"updateBy": null,
"updateTime": "2019-10-23 11:26:16",
"tenantId": "-999",
"dataStatus": null,
"dbtype": null,
"id": "1",
"partyType": null,
"alias": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"profile": null,
"status": "actived",
"gender": "male",
"email": "liucheng_admin@163.com",
"address": "广东xx街道办",
"mobile": "13823831826",
"qq": "789654432",
"photo": "/file/getImage?attachmentId=636525722759856128",
"positions": null,
"groupID": "631490946860580864",
"wcAccount": "wechat",
"account": "admin",
"isSuper": "Y",
"orgName": "院团委",
"isMainPost": null,
"isPrincipal": null,
"pinYinHeadChar": "gly",
"source": null
}
],
"pageResult": {
"limit": 20,
"page": 1,
"totalCount": 2,
"totalPages": 1
}
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
dataResult | Array | 员工列表数据 |
pageResult | Object | 分页数据 |
最后编辑:caoyl 更新时间:2024-11-25 19:17