批量获取企业成员
POST
https://open.teambition.com/api/org/member/batchGet该接口用于批量获取企业成员信息。
请求参数
Header 参数
Content-Type
string
可选
示例值:
application/json
Body 参数application/json
orgId
string
企业 ID
userIds
array[string]
用户 ID 数组
示例
{
"orgId": "string",
"userIds": [
"string"
]
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
返回码,200 表示成功
errorMessage
string
必需
调用失败时的错误信息
result
array[object (result3) {13}]
必需
birthday
string
出生日期
city
string
工作地点(城市)
country
string
工作地点(国家)
email
string
电子邮箱
entryTime
string
入职时间
isDisabled
integer
可选
成员账号是否被停用:0 启用,1 停用
name
string
成员名称
phone
string
联系电话
province
string
工作地点(省份)
role
integer
可选
成员角色,取值为: 0:成员 1:管理员 2:拥有者
staffType
string
员工类型
title
string
职位
userId
string
用户 ID
示例
{
"code": 200,
"errorMessage": "",
"result": [
{
"userId": "5a28e2036176bbde...",
"isDisabled": 0,
"role": 0,
"name": "张三",
"email": "zhangsan@test.com",
"birthday": "1990-10-01",
"entryTime": "2019-12-30",
"staffType": "正式",
"title": "开发工程师",
"phone": "136****0101",
"country": "中国",
"province": "浙江",
"city": "杭州"
}
]
}
最后修改时间: 2 年前