Appearance
根据员工账号获取用户ID
| 拥有此API的权限集 |
|---|
| 组织管理-查询 |
请求方式及url
- 请求方式:
POST - 请求头:
Content-Type:application/json - 接口地址:
https://api.xiaoe-tech.com/xe.ofs.user.getuid/1.0.0 - 频率限制:
10秒3000次
接口调试
请求参数
响应结果
暂无响应数据
请求参数
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| access_token | 是 | string | 专属token |
| accounts | 是 | array | 用户账号数组 |
请求示例
{
"access_token": "xe_xxxxx",
"accounts": ["a321281039003"]
}返回参数
| 参数名 | 类型 | 说明 |
|---|---|---|
| code | int | 0-成功;20023-参数错误;20024-查询失败 |
| msg | string | 提示信息 |
| data.user_id | string | 用户ID |
| data.account | string | 用户账号 |
返回示例
{
"code": 0,
"msg": "success",
"data": [
{
"account": "a321281039003",
"user_id": "u_61a6de1e624ba_hJ4Fs649ey"
}
]
}