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

员工列表

简述:

  • 根据传入参数查询,并返回员工列表

请求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": "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 分页数据

用户激活

简述:

  • 用户激活

请求URL:

请求方式:

  • POST

请求参数:

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

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/platform/v3/employee/active?employeeId=626353848415420416

返回示例:

{
  "state": 200,
  "request": null,
  "message": "用户激活成功",
  "cause": "",
  "variables": {},
  "data": null
}

返回参数说明:

名称 类型 备注
data Void

设置组织负责人

简述:

  • 设置组织负责人

请求URL:

请求方式:

  • POST

请求参数:

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

暂无

  • Body:
名称 类型 是否必须 默认值 备注 其他信息
orgId String 组织id
userIds String 用户Id

请求参数示例:

{
    "parameters": [
        {
            "key": "orgId",
            "value": "625703518749065216"
        },
        {
            "key": "userIds",
            "value": "647024243837501440"
        }
    ],
    "requestPage": {
        "pageNo": 1,
        "limit": 20,
        "totalCount": 1
    },
    "sorts": []
}

返回示例:

{
    "state": 200,
    "request": null,
    "message": "设置组织负责人成功",
    "cause": "",
    "variables": {},
    "data": null
}

返回参数说明:

名称 类型 备注
data Void

添加组织人员

简述:

  • 添加组织人员

请求URL:

请求方式:

  • POST

请求参数:

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

暂无

  • Body:
名称 类型 是否必须 默认值 备注 其他信息
orgId String 组织id
userIds String 用户Id

请求参数示例:

{
    "parameters": [
        {
            "key": "orgId",
            "value": "625703518749065216"
        },
        {
            "key": "userIds",
            "value": "647024243837501440"
        }
    ],
    "requestPage": {
        "pageNo": 1,
        "limit": 20,
        "totalCount": 1
    },
    "sorts": []
}

返回示例:

{
    "state": 200,
    "request": null,
    "message": "添加组织人员成功",
    "cause": "",
    "variables": {},
    "data": null
}

返回参数说明:

名称 类型 备注
data Void

添加岗位人员

简述:

  • 添加岗位人员

请求URL:

请求方式:

  • POST

请求参数:

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

暂无

  • Body:
名称 类型 是否必须 默认值 备注 其他信息
positionId String 岗位id
userIds String 用户Id

请求参数示例:

{
    "parameters": [
        {
            "key": "positionId",
            "value": "625703518749065216"
        },
        {
            "key": "userIds",
            "value": "647024243837501440"
        }
    ],
    "requestPage": {
        "pageNo": 1,
        "limit": 20,
        "totalCount": 1
    },
    "sorts": []
}

返回示例:

{
    "state": 200,
    "request": null,
    "message": "添加岗位人员成功",
    "cause": "",
    "variables": {},
    "data": null
}

返回参数说明:

名称 类型 备注
data Void

添加员工下属

简述:

  • 添加员工下属

请求URL:

请求方式:

  • POST

请求参数:

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

暂无

  • Body:
名称 类型 是否必须 默认值 备注 其他信息
employeeId String 员工id
underIds String 下属员工Id,“,”分隔

请求参数示例:

{
    "parameters": [
        {
            "key": "employeeId",
            "value": "625703518749065216"
        },
        {
            "key": "underIds",
            "value": "647024243837501440"
        }
    ],
    "requestPage": {
        "pageNo": 1,
        "limit": 20,
        "totalCount": 1
    },
    "sorts": []
}

返回示例:

{
    "state": 200,
    "request": null,
    "message": "添加员工下属成功",
    "cause": "",
    "variables": {},
    "data": null
}

返回参数说明:

名称 类型 备注
data Void

设置主岗位

简述:

  • 为用户设置主岗位

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
positionId String 岗位id
userId String 员工Id
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/platform/v3/employee/assignMainPosition?positionId=625703518749065216&userId=626353848415420416

返回示例:

{
    "state": 200,
    "request": null,
    "message": "设置用户主岗位成功",
    "cause": "",
    "variables": {},
    "data": null
}

返回参数说明:

名称 类型 备注
data Void

设置用户为岗位负责人

简述:

  • “设置用户为岗位负责人

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
positionId String 岗位id
userId String 员工Id
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/platform/v3/employee/assignPrincipal?positionId=625703518749065216&userId=626353848415420416

返回示例:

{
    "state": 200,
    "request": null,
    "message": "设置用户为岗位负责人成功",
    "cause": "",
    "variables": {},
    "data": null
}

返回参数说明:

名称 类型 备注
data Void

添加员工

简述:

  • 添加员工

请求URL:

请求方式:

  • POST

请求参数:

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

暂无

  • Body:
名称 类型 是否必须 默认值 备注 其他信息
partyEmployeePo PartyEmployeePo 员工对象
user UserPo 用户对象
positionVoList List< PartyPositionVo > 岗位列表
roleVoList List< PartyRoleVo > 角色列表
attrValueVoList List< PartyAttrValueVo > 拓展属性列表
userGroupPoList List< PartyUserGroupPo > 用户组列表

PartyEmployeePo对象属性:

名称 类型 是否必须 默认值 备注 其他信息
id String 员工id
name String 员工名字
status String 员工状态
gender String 性别
email String 邮件
photo String 头像
mobile String 手机号码
createTime String 创建时间
groupID String 归属组织ID

PartyUserPo对象属性:

名称 类型 是否必须 默认值 备注 其他信息
id String 用户id
account String 用户账号
password String 用户密码
isSuper String 是否超级管理员

PartyPositionVo对象属性:

名称 类型 是否必须 默认值 备注 其他信息
id String 岗位id
name String 名称
isMainPost Boolean 是否主岗位
isPrincipal Boolean 是否主负责人

PartyRoleVo对象属性:

名称 类型 是否必须 默认值 备注 其他信息
id String 角色id
name String 名称
canDelete Boolean 是否可删除,用户角色继承。岗位->组织;人员-(岗位、组织)

PartyAttrValueVo对象属性:

名称 类型 是否必须 默认值 备注 其他信息
attrId String 扩展属性id
value String 扩展属性值

PartyUserGroupPo对象属性:

名称 类型 是否必须 默认值 备注 其他信息
id String 用户与组关系
userId String 用户ID
groupId String 用户组ID
createTime String 创建时间

请求参数示例:

{
    "partyEmployeePo": {
        "id": "",
        "name": "开发创建用户",
        "status": "actived",
        "gender": "male",
        "email": "devAccount@163.com",
        "photo": "",
        "mobile": "",
        "createTime": "",
        "groupID": "625704057729712128"
    },
    "user": {
        "id": "",
        "account": "devAccount",
        "password": "1",
        "isSuper": "N",
        "name": "开发创建用户",
        "status": "actived",
        "gender": "male",
        "email": "devAccount@163.com",
        "photo": "",
        "mobile": "",
        "createTime": "",
        "groupID": "625704057729712128"
    },
    "positionVoList": [{
            "id": "636222256975970304",
            "name": "实习生",
            "isMainPost": false,
            "isPrincipal": false
        }
    ],
    "roleVoList": [{
            "id": "466555768422793216",
            "name": "所有菜单角色",
            "subSystemName": "IBPS平台",
            "source": "自有",
            "canDelete": true
        }
    ],
    "attrValueVoList": [{
            "attrId": "633250188504334336",
            "value": "123"
        }, {
            "attrId": "636884095816695808",
            "value": "321"
        }, {
            "attrId": "639500665311199232",
            "value": "value1"
        }
    ],
    "userGroupPoList": [{
            "groupId": "640858910105796608",
            "groupName": "项目一组"
        }
    ]
}

返回示例:

{
    "state": 200,
    "request": null,
    "message": "添加员工信息成功",
    "cause": "",
    "variables": {
        "id": "640858342633242624"
    },
    "data": null
}

返回参数说明:

名称 类型 备注
data Object 用户相关信息
variables.id String 用户ID

更新员工

简述:

  • 更新员工信息

请求URL:

请求方式:

  • POST

请求参数:

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

暂无

  • Body:
名称 类型 是否必须 默认值 备注 其他信息
partyEmployeePo PartyEmployeePo 员工对象
user UserPo 用户对象
positionVoList List< PartyPositionVo > 岗位列表
roleVoList List< PartyRoleVo > 角色列表
attrValueVoList List< PartyAttrValueVo > 拓展属性列表
userGroupPoList List< PartyUserGroupPo > 用户组列表

PartyEmployeePo对象属性:

名称 类型 是否必须 默认值 备注 其他信息
id String 员工id
name String 员工名字
status String 员工状态
gender String 性别
email String 邮件
photo String 头像
mobile String 手机号码
createTime String 创建时间
groupID String 归属组织ID

PartyUserPo对象属性:

名称 类型 是否必须 默认值 备注 其他信息
id String 用户id
account String 用户账号
password String 用户密码
isSuper String 是否超级管理员

PartyPositionVo对象属性:

名称 类型 是否必须 默认值 备注 其他信息
id String 岗位id
name String 名称
isMainPost Boolean 是否主岗位
isPrincipal Boolean 是否主负责人

PartyRoleVo对象属性:

名称 类型 是否必须 默认值 备注 其他信息
id String 角色id
name String 名称
canDelete Boolean 是否可删除,用户角色继承。岗位->组织;人员-(岗位、组织)

PartyAttrValueVo对象属性:

名称 类型 是否必须 默认值 备注 其他信息
attrId String 扩展属性id
value String 扩展属性值

PartyUserGroupPo对象属性:

名称 类型 是否必须 默认值 备注 其他信息
id String 用户与组关系
userId String 用户ID
groupId String 用户组ID
createTime String 创建时间

请求参数示例:

{
    "partyEmployeePo": {
        "id": "625704057729712127",
        "name": "开发创建用户",
        "status": "actived",
        "gender": "male",
        "email": "devAccount@163.com",
        "photo": "",
        "mobile": "",
        "createTime": "",
        "groupID": "625704057729712128"
    },
    "user": {
        "id": "625704057729712127",
        "account": "devAccount",
        "password": "1",
        "isSuper": "N",
        "name": "开发创建用户",
        "status": "actived",
        "gender": "male",
        "email": "devAccount@163.com",
        "photo": "",
        "mobile": "",
        "createTime": "",
        "groupID": "625704057729712128"
    },
    "positionVoList": [{
            "id": "636222256975970304",
            "name": "实习生",
            "isMainPost": false,
            "isPrincipal": false
        }
    ],
    "roleVoList": [{
            "id": "466555768422793216",
            "name": "所有菜单角色",
            "subSystemName": "IBPS平台",
            "source": "自有",
            "canDelete": true
        }
    ],
    "attrValueVoList": [{
            "attrId": "633250188504334336",
            "value": "123"
        }, {
            "attrId": "636884095816695808",
            "value": "321"
        }, {
            "attrId": "639500665311199232",
            "value": "value1"
        }
    ],
    "userGroupPoList": [{
            "groupId": "640858910105796608",
            "groupName": "项目一组"
        }
    ]
}

返回示例:

{
    "state": 200,
    "request": null,
    "message": "添加员工信息成功",
    "cause": "",
    "variables": {
        "id": "640858342633242624"
    },
    "data": null
}

返回参数说明:

名称 类型 备注
data Object 用户相关信息
variables.id String 用户ID

用户禁用

简述:

  • 用户申请授权码

请求URL:

请求方式:

  • POST

请求参数:

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

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/platform/v3/employee/disable?employeeId=643418078448713728

返回示例:

{
    "state": 200,
    "request": null,
    "message": "用户禁用成功",
    "cause": "",
    "variables": {},
    "data": {}
}

返回参数说明:

名称 类型 备注
data Void

获取所有员工信息

简述:

  • 获取所有员工信息

请求URL:

请求方式:

  • GET

请求参数:

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

暂无

  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/platform/v3/employee/findAll

返回示例:

{
  "state": 200,
  "request": null,
  "message": "",
  "cause": "",
  "variables": {},
  "data": [
    {
      "pk": "",
      "name": "产品助理",
      "ip": null,
      "createBy": null,
      "createTime": "2019-09-26 15:07:21",
      "updateBy": null,
      "updateTime": "2019-11-08 10:36:24",
      "tenantId": null,
      "dataStatus": null,
      "dbtype": null,
      "id": "626796961529331712",
      "partyType": null,
      "alias": null,
      "parentId": null,
      "path": null,
      "depth": null,
      "sn": null,
      "profile": null,
      "status": "actived",
      "gender": "female",
      "email": "2154@qq.com",
      "address": null,
      "mobile": "",
      "qq": null,
      "photo": "/file/getImage?attachmentId=626816696358797312",
      "positions": null,
      "groupID": "638426541465796608",
      "wcAccount": null,
      "account": "Bella2",
      "isSuper": "N",
      "orgName": "产品二部",
      "isMainPost": null,
      "isPrincipal": null,
      "pinYinHeadChar": "cpzl",
      "source": null
    },
    {
      "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": null
    },
    {
      "pk": "",
      "name": "产品主管",
      "ip": null,
      "createBy": null,
      "createTime": "2019-09-26 15:06:01",
      "updateBy": null,
      "updateTime": "2019-11-11 18:39:20",
      "tenantId": "0",
      "dataStatus": null,
      "dbtype": null,
      "id": "626796627947945984",
      "partyType": null,
      "alias": null,
      "parentId": null,
      "path": null,
      "depth": null,
      "sn": null,
      "profile": null,
      "status": "actived",
      "gender": "male",
      "email": "2042@qq.com",
      "address": null,
      "mobile": "",
      "qq": null,
      "photo": "/file/getImage?attachmentId=626871191956619264",
      "positions": null,
      "groupID": "638426746944749568",
      "wcAccount": null,
      "account": "Bella",
      "isSuper": "N",
      "orgName": "产品一组1",
      "isMainPost": null,
      "isPrincipal": null,
      "pinYinHeadChar": "cpzg",
      "source": null
    },
    {
      "pk": "",
      "name": "黄春艳",
      "ip": null,
      "createBy": null,
      "createTime": "2019-09-26 11:11:24",
      "updateBy": null,
      "updateTime": "2019-11-06 11:54:34",
      "tenantId": "0",
      "dataStatus": null,
      "dbtype": null,
      "id": "626737584789258240",
      "partyType": null,
      "alias": null,
      "parentId": null,
      "path": null,
      "depth": null,
      "sn": null,
      "profile": null,
      "status": "actived",
      "gender": "female",
      "email": "370653110@qq.com",
      "address": null,
      "mobile": "",
      "qq": null,
      "photo": "",
      "positions": "625703469629571072",
      "groupID": "625695342267990016",
      "wcAccount": null,
      "account": "huangcy",
      "isSuper": "Y",
      "orgName": "广州流辰信息",
      "isMainPost": null,
      "isPrincipal": null,
      "pinYinHeadChar": "hcy",
      "source": null
    },
    {
      "pk": "",
      "name": "姗姗",
      "ip": null,
      "createBy": null,
      "createTime": "2019-09-25 14:18:08",
      "updateBy": null,
      "updateTime": "2019-11-06 11:54:34",
      "tenantId": "0",
      "dataStatus": null,
      "dbtype": null,
      "id": "626422189268140032",
      "partyType": null,
      "alias": null,
      "parentId": null,
      "path": null,
      "depth": null,
      "sn": null,
      "profile": null,
      "status": "actived",
      "gender": "male",
      "email": "admin@qq.com",
      "address": "彩屏路",
      "mobile": "13416223299",
      "qq": "869135299",
      "photo": "/file/getImage?attachmentId=635169761742815232",
      "positions": "",
      "groupID": "625695342267990016",
      "wcAccount": "13416223299",
      "account": "shanshan",
      "isSuper": "N",
      "orgName": "广州流辰信息",
      "isMainPost": null,
      "isPrincipal": null,
      "pinYinHeadChar": "ss",
      "source": null
    },
    {
      "pk": "",
      "name": "ccj工具人",
      "ip": null,
      "createBy": null,
      "createTime": "2019-09-25 10:02:34",
      "updateBy": null,
      "updateTime": "2019-11-06 11:54:34",
      "tenantId": "0",
      "dataStatus": null,
      "dbtype": null,
      "id": "626357874037096448",
      "partyType": null,
      "alias": null,
      "parentId": null,
      "path": null,
      "depth": null,
      "sn": null,
      "profile": null,
      "status": "actived",
      "gender": "male",
      "email": "asasa@q.cn",
      "address": "dsfds",
      "mobile": "",
      "qq": null,
      "photo": "/file/getImage?attachmentId=626357504825098240",
      "positions": "",
      "groupID": "625695342267990016",
      "wcAccount": null,
      "account": "ccj",
      "isSuper": "N",
      "orgName": "广州流辰信息",
      "isMainPost": null,
      "isPrincipal": null,
      "pinYinHeadChar": "ccjgjr",
      "source": null
    },
    {
      "pk": "",
      "name": "zjh",
      "ip": null,
      "createBy": null,
      "createTime": "2019-09-25 09:46:35",
      "updateBy": null,
      "updateTime": "2019-11-11 11:50:55",
      "tenantId": "0",
      "dataStatus": null,
      "dbtype": null,
      "id": "626353848415420416",
      "partyType": null,
      "alias": null,
      "parentId": null,
      "path": null,
      "depth": null,
      "sn": null,
      "profile": null,
      "status": "actived",
      "gender": "male",
      "email": "zjh20140614@163.com",
      "address": null,
      "mobile": "",
      "qq": null,
      "photo": "/file/getImage?attachmentId=626353894800228352",
      "positions": null,
      "groupID": "625703010672050176",
      "wcAccount": null,
      "account": "zjh",
      "isSuper": "Y",
      "orgName": "测试部",
      "isMainPost": null,
      "isPrincipal": null,
      "pinYinHeadChar": "zjh",
      "source": null
    },
    {
      "pk": "",
      "name": "管理员",
      "ip": null,
      "createBy": null,
      "createTime": "2016-08-26 09:48:29",
      "updateBy": null,
      "updateTime": "2019-11-06 11:54:35",
      "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": "625695342267990016",
      "wcAccount": "wechat",
      "account": "admin",
      "isSuper": "Y",
      "orgName": "广州流辰信息",
      "isMainPost": null,
      "isPrincipal": null,
      "pinYinHeadChar": "gly",
      "source": null
    }
  ]
}

返回参数说明:

名称 类型 备注
data List< PartyEmployeePo > 用户列表

用户查询

简述:

  • 用户查询,账号+状态(不等于)

请求URL:

请求方式:

  • GET

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
account String 用户账号
status String 用户状态
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/platform/v3/employee/findByAccountsAndNotStatus?account=admin&status=disabled

返回示例:

{
  "state": 200,
  "request": null,
  "message": "",
  "cause": "",
  "variables": {},
  "data": [
    {
      "pk": "",
      "name": "管理员",
      "ip": null,
      "createBy": null,
      "createTime": "2016-08-26 09:48:29",
      "updateBy": null,
      "updateTime": "2019-11-06 11:54:35",
      "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": "625695342267990016",
      "wcAccount": "wechat",
      "account": "admin",
      "isSuper": "Y",
      "orgName": null,
      "isMainPost": null,
      "isPrincipal": null,
      "pinYinHeadChar": "gly",
      "source": null
    }
  ]
}

返回参数说明:

名称 类型 备注
data List< PartyEmployeePo > 用户列表

获取员工id集合

简述:

  • 根据组织id获取员工id集合

请求URL:

请求方式:

  • GET

请求参数:

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

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/platform/v3/employee/findByOrgId?orgId=625695342267990016

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": [
        "645944617476292608",
        "643467115990351872",
        "643398911343460352",
        "633271888658825216",
        "631491731493224448",
        "631491392530546688",
        "631490580739784704",
        "628177224461189120",
        "627148923483455488",
        "626860520342814720",
        "626796961529331712",
        "626737584789258240",
        "626422189268140032",
        "626357874037096448",
        "1"
    ]
}

返回参数说明:

名称 类型 备注
data List 员工id集合

备注