获取企业的管理员(含拥有者)
GET
https://open.teambition.com/api/org/admins该接口用于获取企业的管理员,包括拥有者。
权限:企业查看权限-tbs-org:organization:get
请求参数
Body 参数application/json
orgId
string
企业 ID
示例
{
"orgId": "string"
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
result
array [object {18}]
必需
memberId
string
企业成员 ID
userId
string
用户 ID
isDisabled
integer
必需
成员账号是否被停用:0 启用,1 停用
role
integer
必需
成员角色,取值为:-1: 外部成员, 0: 成员, 1: 管理员, 2: 拥有者
avatarUrl
string
用户头像
birthday
string
出生日期
city
string
工作地点(城市)
province
string
工作地点(省份)
country
string
工作地点(国家)
email
string
电子邮箱
entryTime
string
入职时间
name
string
成员名称
phone
string
联系电话
title
string
职位
pinyin
string
成员名称的拼音
py
string
成员名称的拼音简写
staffType
string
员工类型
employeeNumber
string
员工工号
code
number
响应状态码
errorMessage
string
异常错误信息
示例
{
" result": [
{
"memberId": "string",
"userId": "string",
"isDisabled": 0,
"role": 0,
"avatarUrl": "string",
"birthday": "string",
"city": "string",
"province": "string",
"country": "string",
"email": "string",
"entryTime": "string",
"name": "string",
"phone": "string",
"title": "string",
"pinyin": "string",
"py": "string",
"staffType": "string",
"employeeNumber": "string"
}
],
"code": 0,
"errorMessage": "string"
}
最后修改时间: 2 年前