查询公司自定义角色列表
最后更新于 2025/04/16
查询公司角色列表
获取本公司所有角色类型
Get HR Account
Method:GET
Path:/getroletype
Headers
Key | Required | Type | Description |
---|---|---|---|
token | Yes | string | 令牌 |
Response data
Key | Description |
---|---|
role_id | 自定义角色 ID |
role_type | 权限类型 ID/系统角色类型 2:管理员 3:HR 4:高级用人经理 5:用人经理 6:面试官 |
type_Name | 角色类型 |
name | 自定义角色名称 |
create_time | 创建时间 |
update_time | 更新时间 |
is_custom | 系统默认角色 0,自定义角色 1 |
status | 状态 |
Response
{
"code": 0,
"message": "",
"data": [
{
"id":182,
"role_type":2,
"type_Name":"HR",
"name":"HR-Admin",
"create_time":"2016-07-20 14:31:05",
"update_time":"2016-07-20 14:31:05",
"is_custom":1
"status":1
},
{
"id":183,
"role_type":3,
"type_Name":"HR",
"name":"HRtest",
"create_time":"2019-07-20 14:31:05",
"update_time":"2029-07-20 14:31:05",
"is_custom":1
"status":1
}
]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
plaintext2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
评价这篇文档
有帮助
没帮助