获取企业成员列表
GET
https://open.teambition.com/api/org/member/list
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://open.teambition.com/api/org/member/list' \
--header 'Authorization: Bearer <appAccessToken>' \
--header 'X-Tenant-Id: 50c32af35a87e6b2...' \
--header 'X-Tenant-Type: organization' \
--header 'Content-Type: application/json' \
--data-raw ''
响应示例响应示例
{
"code": 200,
"errorMessage": "",
"count": 100,
"nextPageToken": "dd28c9aa-e056-4f57-9f6c-ed5c3b2d7200",
"result": [
{
"userId": "5a28e2036176bbde...",
"isDisabled": 0,
"role": 0,
"name": "张三",
"pinyin": "Zhang San",
"py": "ZS",
"email": "zhangsan@test.com",
"birthday": "1990-10-01",
"entryTime": "2019-12-30",
"staffType": "正式",
"title": "开发工程师",
"phone": "136****0101",
"country": "中国",
"province": "浙江",
"city": "杭州"
}
]
}
请求参数
Header 参数
X-Tenant-Id
string
企业 ID
示例值:
50c32af35a87e6b2...
X-Tenant-Type
string
可选
示例值:
organization
Body 参数application/json
返回响应
修改于 2023-01-06 07:13:41