分页查询岗位信息(API名称:findPagedPosition)
功能介绍
分页查询岗位信息
相关接口
|
接口名称 |
调用说明 |
|---|---|
|
调用该接口获取到Token,再调用其他接口时,需要在请求消息头中添加“Authorization”,其值即为Token。 |
URL
|
请求方式 |
HTTPS地址 |
服务架构 |
消息体类型 |
|---|---|---|---|
|
POST |
https://isdp+域名/openapi/v1/position/findPagedPosition |
OpenAPI |
application/json |
请求头
|
KEY |
VALUE |
是否必填 |
描述 |
|---|---|---|---|
|
Content-Type |
application/json |
是 |
无 |
|
Authorization |
bearer ${access_token} |
是 |
bearer +“ ”+5.2.1中获取的access_token的值 |
请求参数
|
参数 |
类型 |
是否必填 |
描述 |
|---|---|---|---|
|
count |
Integer |
是 |
分页参数,查询数据的条数 |
|
start |
Integer |
是 |
分页参数,查询数据的起始位置 |
|
positionName |
String |
否 |
岗位名称(支持模糊查询) |
|
orgId |
Long |
否 |
组织单元id |
响应参数
|
参数 |
类型 |
描述 |
|---|---|---|
|
positionId |
Long |
岗位id |
|
positionCode |
String |
岗位编码 |
|
positionName |
String |
岗位名称 |
|
orgId |
Long |
组织单元id |
|
orgName |
String |
组织单元名称 |
|
orgNo |
String |
组织单元编号 |
|
positionFactor |
String |
岗位系数 |
|
pos |
Integer |
起始条目位置 |
|
total_count |
Integer |
返回条目总数 |
|
entityName |
String |
实体名称 |
|
totalCount |
Integer |
返回条目总数 |
|
rolesList |
array |
角色列表 |
rolesList说明:
|
参数 |
类型 |
描述 |
|---|---|---|
|
roleId |
Long |
角色id |
|
roleNo |
String |
角色编码 |
|
roleName |
String |
角色名称 |
请求示例
{
"start": 0,
"count": 20,
"orgId": 421,
"positionName": "testFindPagedPosition"
}
响应示例
{
"data": [
{
"positionId": 112884,
"positionCode": "testwyg1",
"positionName": "testwyg1",
"orgId": 99007258,
"orgName": "testwyg1",
"orgNo": "testwyg1",
"positionFactor": "1.00",
"rolesList": [
{
"roleNo": "Admin",
"roleId": 1571341,
"roleName": "Admin"
}
]
}
],
"pos": 0,
"total_count": 1,
"entityName": null,
"totalCount": 1
}