获取全部岗位
简述:
- 获取全部岗位
请求URL:
- http://ip:port/ibps/platform/v3/position/findAll
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/platform/v3/position/findAll
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": [
{
"pk": "",
"name": "员工",
"ip": null,
"createBy": null,
"createTime": "2019-09-23 14:43:13",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "625703725515669504",
"partyType": null,
"parentId": "625703597312573440",
"path": "625703345251680256.625703410368249856.625703469629571072.625703518749065216.625703597312573440.625703725515669504.",
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "yg",
"orgID": null,
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "主管",
"ip": null,
"createBy": null,
"createTime": "2019-09-23 14:42:24",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "625703518749065216",
"partyType": null,
"parentId": "625703469629571072",
"path": "625703345251680256.625703410368249856.625703469629571072.625703518749065216.",
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "zg",
"orgID": null,
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "总经理",
"ip": null,
"createBy": null,
"createTime": "2019-09-23 14:41:58",
"updateBy": null,
"updateTime": "2019-11-18 10:33:11",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "625703410368249856",
"partyType": null,
"parentId": "625703345251680256",
"path": "625703345251680256.625703410368249856.",
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "zjl",
"orgID": "",
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "实习生",
"ip": null,
"createBy": null,
"createTime": "2019-10-22 15:20:07",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "636222256975970304",
"partyType": null,
"parentId": "625703725515669504",
"path": "625703345251680256.625703410368249856.625703469629571072.625703518749065216.625703597312573440.625703725515669504.636222256975970304.",
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "sxs",
"orgID": null,
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "子公司经理",
"ip": null,
"createBy": null,
"createTime": "2019-10-22 15:01:15",
"updateBy": null,
"updateTime": "2019-11-06 14:17:59",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "636217509577490432",
"partyType": null,
"parentId": "636217412953309184",
"path": "636217278655889408.636217412953309184.636217509577490432.",
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "zgsjl",
"orgID": "",
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "子公司总经理",
"ip": null,
"createBy": null,
"createTime": "2019-10-22 15:00:52",
"updateBy": null,
"updateTime": "2019-11-06 14:17:59",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "636217412953309184",
"partyType": null,
"parentId": "636217278655889408",
"path": "636217278655889408.636217412953309184.",
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "zgszjl",
"orgID": "",
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "组长",
"ip": null,
"createBy": null,
"createTime": "2019-09-23 14:42:43",
"updateBy": null,
"updateTime": "2019-10-22 14:34:16",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "625703597312573440",
"partyType": null,
"parentId": "625703518749065216",
"path": "625703345251680256.625703410368249856.625703469629571072.625703518749065216.625703597312573440.",
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "zc",
"orgID": "625704057729712128",
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "经理",
"ip": null,
"createBy": null,
"createTime": "2019-09-23 14:42:12",
"updateBy": null,
"updateTime": "2019-10-12 18:00:05",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "625703469629571072",
"partyType": null,
"parentId": "625703410368249856",
"path": "625703345251680256.625703410368249856.625703469629571072.",
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "jl",
"orgID": "",
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "董事长",
"ip": null,
"createBy": null,
"createTime": "2019-09-23 14:41:43",
"updateBy": null,
"updateTime": "2019-10-22 16:05:25",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "625703345251680256",
"partyType": null,
"parentId": "0",
"path": "625703345251680256.",
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "dsc",
"orgID": "625695342267990016",
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "兼职",
"ip": null,
"createBy": null,
"createTime": "2019-10-22 15:20:17",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "636222302144430080",
"partyType": null,
"parentId": "625703725515669504",
"path": "625703345251680256.625703410368249856.625703469629571072.625703518749065216.625703597312573440.625703725515669504.636222302144430080.",
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "jz",
"orgID": null,
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "子公司董事长",
"ip": null,
"createBy": null,
"createTime": "2019-10-22 15:00:20",
"updateBy": null,
"updateTime": "2019-11-06 14:17:59",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "636217278655889408",
"partyType": null,
"parentId": "0",
"path": "636217278655889408.",
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "zgsdsc",
"orgID": "",
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "测试机构树新增岗位",
"ip": null,
"createBy": null,
"createTime": "2019-11-18 10:29:54",
"updateBy": null,
"updateTime": "2019-11-18 10:30:33",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "645933696821493760",
"partyType": null,
"parentId": "0",
"path": "645933696821493760.",
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "csjgsxzgw",
"orgID": "",
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "外包",
"ip": null,
"createBy": null,
"createTime": "2019-10-22 15:20:35",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "636222376282947584",
"partyType": null,
"parentId": "625703725515669504",
"path": "625703345251680256.625703410368249856.625703469629571072.625703518749065216.625703597312573440.625703725515669504.636222376282947584.",
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "wb",
"orgID": null,
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
}
]
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | List< PartyPositionPo > | 岗位对象信息列表 |
根据参与者等级ID查询岗位
简述:
- 根据参与者等级ID查询岗位
请求URL:
- http://ip:port/ibps/platform/v3/position/findByLevelIds
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
levelIds | String | 是 | 参与者ID,逗号分割 |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/platform/v3/position/findByLevelIds?levelIds=466946423468851200
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": [
{
"pk": "",
"name": "测试机构树新增岗位",
"ip": null,
"createBy": null,
"createTime": "2019-11-18 10:29:54",
"updateBy": null,
"updateTime": "2019-11-18 10:30:33",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "645933696821493760",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "csjgsxzgw",
"orgID": "",
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "外包",
"ip": null,
"createBy": null,
"createTime": "2019-10-22 15:20:35",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "636222376282947584",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "wb",
"orgID": null,
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "兼职",
"ip": null,
"createBy": null,
"createTime": "2019-10-22 15:20:17",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "636222302144430080",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "jz",
"orgID": null,
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "实习生",
"ip": null,
"createBy": null,
"createTime": "2019-10-22 15:20:07",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "636222256975970304",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "sxs",
"orgID": null,
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "子公司经理",
"ip": null,
"createBy": null,
"createTime": "2019-10-22 15:01:15",
"updateBy": null,
"updateTime": "2019-11-06 14:17:59",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "636217509577490432",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "zgsjl",
"orgID": "",
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "子公司总经理",
"ip": null,
"createBy": null,
"createTime": "2019-10-22 15:00:52",
"updateBy": null,
"updateTime": "2019-11-06 14:17:59",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "636217412953309184",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "zgszjl",
"orgID": "",
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "子公司董事长",
"ip": null,
"createBy": null,
"createTime": "2019-10-22 15:00:20",
"updateBy": null,
"updateTime": "2019-11-06 14:17:59",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "636217278655889408",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "zgsdsc",
"orgID": "",
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "员工",
"ip": null,
"createBy": null,
"createTime": "2019-09-23 14:43:13",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "625703725515669504",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "yg",
"orgID": null,
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "组长",
"ip": null,
"createBy": null,
"createTime": "2019-09-23 14:42:43",
"updateBy": null,
"updateTime": "2019-10-22 14:34:16",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "625703597312573440",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "zc",
"orgID": "625704057729712128",
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "主管",
"ip": null,
"createBy": null,
"createTime": "2019-09-23 14:42:24",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "625703518749065216",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "zg",
"orgID": null,
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "经理",
"ip": null,
"createBy": null,
"createTime": "2019-09-23 14:42:12",
"updateBy": null,
"updateTime": "2019-10-12 18:00:05",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "625703469629571072",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "jl",
"orgID": "",
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "总经理",
"ip": null,
"createBy": null,
"createTime": "2019-09-23 14:41:58",
"updateBy": null,
"updateTime": "2019-11-18 10:33:11",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "625703410368249856",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "zjl",
"orgID": "",
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "董事长",
"ip": null,
"createBy": null,
"createTime": "2019-09-23 14:41:43",
"updateBy": null,
"updateTime": "2019-10-22 16:05:25",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "625703345251680256",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "dsc",
"orgID": "625695342267990016",
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
}
]
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | List< PartyPositionPo > | 岗位对象信息列表 |
获取岗位信息
简述:
- 获取岗位信息
请求URL:
- http://ip:port/ibps/platform/v3/position/findByUserAccount
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
account | String | 是 | 用户账号 |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/platform/v3/position/findByUserAccount?account=huangcy
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": [
{
"pk": "",
"name": "经理",
"ip": null,
"createBy": null,
"createTime": "2019-09-23 14:42:12",
"updateBy": null,
"updateTime": "2019-10-12 18:00:05",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "625703469629571072",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "jl",
"orgID": "",
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
}
]
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | List< PartyPositionPo > | 岗位对象信息列表 |
获取岗位信息
简述:
- 获取岗位信息
请求URL:
- http://ip:port/ibps/platform/v3/position/findByUserId
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
userId | String | 是 | 用户id |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/platform/v3/position/findByUserId?userId=626737584789258240
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": [
{
"pk": "",
"name": "经理",
"ip": null,
"createBy": null,
"createTime": "2019-09-23 14:42:12",
"updateBy": null,
"updateTime": "2019-10-12 18:00:05",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "625703469629571072",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "jl",
"orgID": "",
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
}
]
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | List< PartyPositionPo > | 岗位对象信息列表 |
获取岗位信息
简述:
- 根据传入id查询,并返回岗位信息
请求URL:
- http://ip:port/ibps/platform/v3/position/get
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
positionId | String | 是 | 查询id |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/platform/v3/position/get?positionId=625703469629571072
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"pk": "",
"name": "经理",
"ip": null,
"createBy": null,
"createTime": "2019-09-23 14:42:12",
"updateBy": null,
"updateTime": "2019-10-12 18:00:05",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "625703469629571072",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "jl",
"orgID": "",
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | List< PartyPositionPo > | 岗位对象信息列表 |
获取岗位信息
简述:
- 根据传入alias查询,并返回岗位信息
请求URL:
- http://ip:port/ibps/platform/v3/position/getByAlias
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
posAlias | String | 是 | 岗位别名 |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/platform/v3/position/getByAlias?posAlias=jl
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"pk": "",
"name": "经理",
"ip": null,
"createBy": null,
"createTime": "2019-09-23 14:42:12",
"updateBy": null,
"updateTime": "2019-10-12 18:00:05",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "625703469629571072",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "jl",
"orgID": "",
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | PartyPositionPo | 岗位对象信息 |
获取主岗位信息
简述:
- 获取主岗位信息
请求URL:
- http://ip:port/ibps/platform/v3/position/getMainPostByUserId
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
userId | String | 是 | 用户id |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/platform/v3/position/getMainPostByUserId?userId=633271888658825216
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"pk": "",
"name": "兼职",
"ip": null,
"createBy": null,
"createTime": "2019-10-22 15:20:17",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "636222302144430080",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "jz",
"orgID": null,
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | PartyPositionPo | 岗位对象信息 |
获取岗位的组织和等级信息
简述:
- 获取岗位的组织和等级信息
请求URL:
- http://ip:port/ibps/platform/v3/position/load
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
positionId | String | 是 | 岗位id |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/platform/v3/position/load?positionId=625703469629571072
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {
"level": null,
"partyOrg": null
},
"data": {
"pk": "",
"name": "经理",
"ip": null,
"createBy": null,
"createTime": "2019-09-23 14:42:12",
"updateBy": null,
"updateTime": "2019-10-12 18:00:05",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "625703469629571072",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "jl",
"orgID": "",
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | PartyPositionPo | 岗位对象信息 |
岗位加入组织
简述:
- 岗位加入组织
请求URL:
- http://ip:port/ibps/platform/v3/position/assignOrg
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
orgId | String | 是 | 组织id | ||
positionIds | String[] | 是 | 岗位id数组 |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/platform/v3/position/assignOrg?orgId=625695342267990016&positionIds=625703469629571072
返回示例:
{
"state": 200,
"request": null,
"message": "岗位加入组织成功",
"cause": "",
"variables": {},
"data": null
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Void |
添加岗位角色
简述:
- 添加岗位角色
请求URL:
- http://ip:port/ibps/platform/v3/position/assignRole
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
positionId | String | 是 | 岗位id | ||
roleIds | String[] | 是 | 角色ID,可以多个,逗号分隔 |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/platform/v3/position/assignRole?positionId=646358235216871424&roleIds=645929316542054400
返回示例:
{
"state": 200,
"request": null,
"message": "添加岗位角角色成功",
"cause": "",
"variables": {},
"data": null
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Void |
根据ID查询数据
简述:
- 根据ID查询数据
请求URL:
- http://ip:port/ibps/platform/v3/position/findByIds
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
positionIds | String[] | 是 | 岗位id集合 |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/platform/v3/position/assignRole?positionId=646358235216871424&roleIds=645929316542054400
返回示例:
{
"state": 200,
"request": null,
"message": "添加岗位角角色成功",
"cause": "",
"variables": {},
"data": null
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | List< PartyPositionPo > | 岗位对象信息列表 |
根据用户id查询岗位信息列表分页(带等级值、组织)
简述:
- 根据ids查询带等级值、组织的岗位信息
请求URL:
- http://ip:port/ibps/platform/v3/position/findWithOrgByIds
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
positionIds | String[] | 是 | 岗位id集合 | ||
employeeId | String | 是 | 查询id |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/platform/v3/position/findWithOrgByIds?employeeId=626737584789258240&positionIds=625703469629571072
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": [
{
"pk": "",
"name": "经理",
"ip": null,
"createBy": null,
"createTime": "2019-09-23 14:42:12",
"updateBy": null,
"updateTime": "2019-11-19 14:34:25",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "625703469629571072",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "jl",
"orgID": "625695342267990016",
"relRoles": null,
"level": 1,
"levelName": null,
"orgName": "广州流辰信息",
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
}
]
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | List< PartyPositionPo > | 岗位对象信息列表 |
是否主岗位或主负责人
简述:
- 是否主岗位或主负责人
请求URL:
- http://ip:port/ibps/platform/v3/position/isMorP
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
userId | String | 是 | 用户id | ||
positionIds | String | 是 | 岗位id | ||
biz | String | 是 | 关系类型 |
- Body:
暂无
请求参数示例:
TODO
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": false
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Boolean |
岗位列表
简述:
- 根据传入参数查询,并返回岗位列表
请求URL:
- http://ip:port/ibps/platform/v3/position/query
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
request | APIRequest[1] | 是 | 动态查询请求对象 |
请求参数示例:
{
"parameters": [
{
"key": "employeeId",
"value": "626737584789258240"
}
],
"requestPage": {
"pageNo": 1,
"limit": 20
},
"sorts": []
}
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"dataResult": [
{
"pk": "",
"name": "学生",
"ip": null,
"createBy": null,
"createTime": "2019-11-19 14:36:52",
"updateBy": null,
"updateTime": "2019-11-19 14:37:42",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "646358235216871424",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "xs",
"orgID": null,
"relRoles": "645929316542054400,",
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "测试机构树新增岗位",
"ip": null,
"createBy": null,
"createTime": "2019-11-18 10:29:54",
"updateBy": null,
"updateTime": "2019-11-18 10:30:33",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "645933696821493760",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "csjgsxzgw",
"orgID": "",
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "外包",
"ip": null,
"createBy": null,
"createTime": "2019-10-22 15:20:35",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "636222376282947584",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "wb",
"orgID": null,
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "兼职",
"ip": null,
"createBy": null,
"createTime": "2019-10-22 15:20:17",
"updateBy": null,
"updateTime": "2019-11-19 14:32:58",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "636222302144430080",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "jz",
"orgID": "625695342267990016",
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "实习生",
"ip": null,
"createBy": null,
"createTime": "2019-10-22 15:20:07",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "636222256975970304",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "sxs",
"orgID": null,
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "子公司经理",
"ip": null,
"createBy": null,
"createTime": "2019-10-22 15:01:15",
"updateBy": null,
"updateTime": "2019-11-06 14:17:59",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "636217509577490432",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "zgsjl",
"orgID": "",
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "子公司总经理",
"ip": null,
"createBy": null,
"createTime": "2019-10-22 15:00:52",
"updateBy": null,
"updateTime": "2019-11-06 14:17:59",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "636217412953309184",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "zgszjl",
"orgID": "",
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "子公司董事长",
"ip": null,
"createBy": null,
"createTime": "2019-10-22 15:00:20",
"updateBy": null,
"updateTime": "2019-11-06 14:17:59",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "636217278655889408",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "zgsdsc",
"orgID": "",
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "员工",
"ip": null,
"createBy": null,
"createTime": "2019-09-23 14:43:13",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "625703725515669504",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "yg",
"orgID": null,
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "组长",
"ip": null,
"createBy": null,
"createTime": "2019-09-23 14:42:43",
"updateBy": null,
"updateTime": "2019-10-22 14:34:16",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "625703597312573440",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "zc",
"orgID": "625704057729712128",
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "主管",
"ip": null,
"createBy": null,
"createTime": "2019-09-23 14:42:24",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "625703518749065216",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "zg",
"orgID": null,
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "经理",
"ip": null,
"createBy": null,
"createTime": "2019-09-23 14:42:12",
"updateBy": null,
"updateTime": "2019-11-19 14:34:25",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "625703469629571072",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "jl",
"orgID": "625695342267990016",
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "总经理",
"ip": null,
"createBy": null,
"createTime": "2019-09-23 14:41:58",
"updateBy": null,
"updateTime": "2019-11-18 10:33:11",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "625703410368249856",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "zjl",
"orgID": "",
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "董事长",
"ip": null,
"createBy": null,
"createTime": "2019-09-23 14:41:43",
"updateBy": null,
"updateTime": "2019-11-19 14:31:54",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "625703345251680256",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "dsc",
"orgID": "",
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
}
],
"pageResult": {
"limit": 20,
"page": 1,
"totalCount": 14,
"totalPages": 1
}
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | APIPageList< PartyPositionPo > | 岗位对象信息列表 |
根据条件查询无组织岗位
简述:
- 根据条件查询无组织岗位(分页)
请求URL:
- http://ip:port/ibps/platform/v3/position/queryOrgIsNull
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
request | APIRequest[1] | 是 | 动态查询请求对象 |
请求参数示例:
{
"parameters": [
{
"key": "Q^POS_ALIAS_^SL",
"value": "xs"
}
],
"requestPage": {
"pageNo": 1,
"limit": 20
},
"sorts": []
}
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"dataResult": [
{
"pk": "",
"name": "学生",
"ip": null,
"createBy": null,
"createTime": "2019-11-19 14:36:52",
"updateBy": null,
"updateTime": "2019-11-19 14:37:42",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "646358235216871424",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "xs",
"orgID": null,
"relRoles": "645929316542054400,",
"level": 1,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "实习生",
"ip": null,
"createBy": null,
"createTime": "2019-10-22 15:20:07",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "636222256975970304",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "sxs",
"orgID": null,
"relRoles": null,
"level": 1,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
}
],
"pageResult": {
"limit": 20,
"page": 1,
"totalCount": 2,
"totalPages": 1
}
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | APIPageList< PartyPositionPo > | 岗位对象信息列表 |
根据orgId查询带等级值的岗位信息
简述:
- 根据orgId查询带等级值的岗位信息
请求URL:
- http://ip:port/ibps/platform/v3/position/queryWithLevelByOrgId
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
request | APIRequest[1] | 是 | 动态查询请求对象 |
请求参数示例:
{
"parameters": [
{
"key": "Q^ORG_ID_^SL",
"value": "625704057729712128"
}
],
"requestPage": {
"pageNo": 1,
"limit": 20
},
"sorts": []
}
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"dataResult": [
{
"pk": "",
"name": "组长",
"ip": null,
"createBy": null,
"createTime": "2019-09-23 14:42:43",
"updateBy": null,
"updateTime": "2019-10-22 14:34:16",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "625703597312573440",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "zc",
"orgID": "625704057729712128",
"relRoles": null,
"level": 1,
"levelName": "正式",
"orgName": "测试一部",
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
}
],
"pageResult": {
"limit": 20,
"page": 1,
"totalCount": 1,
"totalPages": 1
}
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | APIPageList< PartyPositionPo > | 岗位对象信息列表 |
查询带等级值、组织的岗位信息
简述:
- 查询带等级值、组织的岗位信息
请求URL:
- http://ip:port/ibps/platform/v3/position/queryWithOrg
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
request | APIRequest[1] | 是 | 动态查询请求对象 |
请求参数示例:
{
"parameters": [
{
"key": "Q^LEVEL_^SL",
"value": "1"
}
],
"requestPage": {
"pageNo": 1,
"limit": 20
},
"sorts": []
}
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"dataResult": [
{
"pk": "",
"name": "兼职",
"ip": null,
"createBy": null,
"createTime": "2019-10-22 15:20:17",
"updateBy": null,
"updateTime": "2019-11-19 14:32:58",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "636222302144430080",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "jz",
"orgID": "625695342267990016",
"relRoles": null,
"level": 1,
"levelName": null,
"orgName": "广州流辰信息",
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "组长",
"ip": null,
"createBy": null,
"createTime": "2019-09-23 14:42:43",
"updateBy": null,
"updateTime": "2019-10-22 14:34:16",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "625703597312573440",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "zc",
"orgID": "625704057729712128",
"relRoles": null,
"level": 1,
"levelName": null,
"orgName": "测试一部",
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "经理",
"ip": null,
"createBy": null,
"createTime": "2019-09-23 14:42:12",
"updateBy": null,
"updateTime": "2019-11-19 14:34:25",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "625703469629571072",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "jl",
"orgID": "625695342267990016",
"relRoles": null,
"level": 1,
"levelName": null,
"orgName": "广州流辰信息",
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
}
],
"pageResult": {
"limit": 20,
"page": 1,
"totalCount": 3,
"totalPages": 1
}
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | APIPageList< PartyPositionPo > | 岗位对象信息列表 |
根据用户id查询岗位信息列表分页(带等级值、组织)
简述:
- 根据ids查询带等级值、组织的岗位信息
请求URL:
- http://ip:port/ibps/platform/v3/position/queryWithOrgByIds
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
request | APIRequest[1] | 是 | 动态查询请求对象 |
请求参数示例:
{
"parameters": [
{
"key": "employeeId",
"value": "626737584789258240"
},
{
"key": "positionIds",
"value": "625703469629571072"
}
],
"requestPage": {
"pageNo": 1,
"limit": 20
},
"sorts": []
}
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"dataResult": [
{
"pk": "",
"name": "经理",
"ip": null,
"createBy": null,
"createTime": "2019-09-23 14:42:12",
"updateBy": null,
"updateTime": "2019-11-19 14:34:25",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "625703469629571072",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "jl",
"orgID": "625695342267990016",
"relRoles": null,
"level": 1,
"levelName": null,
"orgName": "广州流辰信息",
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
}
],
"pageResult": {
"limit": 20,
"page": 1,
"totalCount": 1,
"totalPages": 1
}
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | APIPageList< PartyPositionPo > | 岗位对象信息列表 |
删除
简述:
- 删除岗位记录
请求URL:
- http://ip:port/ibps/platform/v3/position/remove
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
positionIds | String[] | 是 | 岗位id数组 |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/platform/v3/position/remove?positionIds=646395881460858880
返回示例:
{
"state": 200,
"request": null,
"message": "删除参与者属性信息成功",
"cause": "",
"variables": {},
"data": null
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Void |
岗位移除组织
简述:
- 岗位移除组织
请求URL:
- http://ip:port/ibps/platform/v3/position/removeOrg
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
positionIds | String[] | 是 | 岗位id数组 |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/platform/v3/position/removeOrg?positionIds=645933696821493760
返回示例:
{
"state": 200,
"request": null,
"message": "岗位移除组织成功",
"cause": "",
"variables": {},
"data": null
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Void |
移除岗位角色
简述:
- 移除岗位角色
请求URL:
- http://ip:port/ibps/platform/v3/position/removeRole
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
positionId | String | 是 | 查询id | ||
roleIds | String | 是 | 角色ID,可以多个,逗号分隔 |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/platform/v3/position/removeRole?positionId=646358235216871424&roleIds=646023383024140288
返回示例:
{
"state": 200,
"request": null,
"message": "更新岗位角色成功",
"cause": "",
"variables": {},
"data": null
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Void |
保存
简述:
- 保存岗位信息
请求URL:
- http://ip:port/ibps/platform/v3/position/save
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
PartyPositionPo属性信息:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
createTime | Date | 否 | 创建时间 | ||
desc | String | 否 | 岗位说明 | ||
id | String | 否 | 主键 | ||
levelID | String | 是 | 岗位等级ID。从参与者等级中获得 | ||
name | String | 是 | 名称 | ||
parentId | String | 是 | 参与者父ID | ||
posAlias | String | 是 | 岗位别名 | ||
updateTime | Date | 否 | 更新时间 |
请求参数示例:
{
"id": "",
"parentId": "625703725515669504",
"name": "校长",
"posAlias": "xcs",
"levelID": "466946423468851200",
"createTime": "",
"updateTime": ""
}
返回示例:
{
"state": 200,
"request": null,
"message": "保存岗位信息成功",
"cause": "",
"variables": {
"id": "646407549725179904"
},
"data": null
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Void |
保存岗位移动
简述:
- 保存岗位移动
请求URL:
- http://ip:port/ibps/platform/v3/position/saveMove
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
positionId | String | 是 | 岗位id | ||
destinationId | String | 是 | 移动后父岗位ID |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/platform/v3/position/saveMove?destinationId=646358235216871424&positionId=646407549725179904
返回示例:
{
"state": 200,
"request": null,
"message": "岗位移动保存成功!",
"cause": "",
"variables": {},
"data": null
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Void |
排序
简述:
- 保存岗位排序
请求URL:
- http://ip:port/ibps/platform/v3/position/saveSort
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
positionIds | String[] | 是 | 岗位id数组 |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/platform/v3/position/saveSort?positionIds=636222256975970304,636222302144430080,636222376282947584,646401011300171776,646358235216871424,646405251015901184,646406849729396736
返回示例:
{
"state": 200,
"request": null,
"message": "岗位排序成功!",
"cause": "",
"variables": {},
"data": null
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Void |
获取岗位树
简述:
- 获取岗位树
请求URL:
- http://ip:port/ibps/platform/v3/position/findTreeData
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
request | APIRequest[1] | 是 | 动态查询请求对象 |
请求参数示例:
{
"parameters": [
{
"key": "employeeId",
"value": "626737584789258240"
},
{
"key": "positionIds",
"value": "625703469629571072"
}
],
"requestPage": {
"pageNo": 1,
"limit": 20
},
"sorts": []
}
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"dataResult": [
{
"pk": "",
"name": "学生",
"ip": null,
"createBy": null,
"createTime": "2019-11-19 14:36:52",
"updateBy": null,
"updateTime": "2019-11-19 14:37:42",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "646358235216871424",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "xs",
"orgID": null,
"relRoles": "645929316542054400,",
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
},
{
"pk": "",
"name": "子公司经理",
"ip": null,
"createBy": null,
"createTime": "2019-10-22 15:01:15",
"updateBy": null,
"updateTime": "2019-11-06 14:17:59",
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "636217509577490432",
"partyType": null,
"parentId": null,
"path": null,
"depth": null,
"sn": null,
"levelID": "466946423468851200",
"type": "no",
"desc": null,
"posAlias": "zgsjl",
"orgID": "",
"relRoles": null,
"level": null,
"levelName": null,
"orgName": null,
"isMainPost": "N",
"isPrincipal": "N",
"hasChild": false
}
],
"pageResult": {
"limit": 20,
"page": 1,
"totalCount": 14,
"totalPages": 1
}
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | APIPageList< PartyPositionPo > | 岗位对象信息列表 |
备注
- [1] : APIRequest为动态查询请求对象,详情请移步全局请求格式