https://cic_irc.yuque.com/tyl581/ggwv9w/egi92szor7hc0vim
1、组织数据-获取组织树结构
URL: services.getBranchTreeInfo
Type: POST
Author: dongyikuan
Content-Type: application/json; charset=utf-8
Description: openapi获取组织树(返回对象10M左右,加载慢,建议使用接口3获取组织数据)
请求参数:无
请求示例:
import { services } from '@cic/mp-support';
services.getBranchTreeInfo()
返回参数说明:
| Field | Type | Description | Since | |
| branchOrgCode | string | 组织编码 | - | |
| branchOrgName | string | 组织名称 | - | |
| branchOrgStatus | string | 组织状态 | - | |
| simpleName | string | 组织简称 | - | - |
| branchOrgParentCode | string | 组织上级编码 | - | |
| branchOrgParentName | string | 组织上级名称 | - | |
| branchOrgPath | string | path路径 | - | |
| orgIsFranchise | string | 是否专营机构 | - | |
| orgFranchiseType | string | 专营类型 | - | |
| orgIsSetIssue | string | 是否设立出单组织 | - | |
| orgIsSetBooks | string | 是否设立独立账套 | - | |
| branchOrgType | string | 机构类型:0.经营组织,1.管理组织,2.销售组织 | - | |
| branchOrgState | string | 分支机构状态 | - | |
| branchOrgRegionType | string | 所属地域类型 | - | |
| branchOrgHierarchy | string | 分支机构层级 | - | |
| branchOrgLevel | string | 分支机构级别 | - | |
| isManageOpreation | string | 是否管营一体 | - | |
| provinceCode | string | 所属省 | - | |
| cityCode | string | 所属市 | - | |
| countyCode | string | 所属区 | - | |
| childBranchOrgList | object | 子级/字段同上 | - |
返回参数示例:📎获取组织树结构.json
2、组织数据-获取组织列表
URL: services.getBranchOrgList
Type: POST
Author: dongyikuan
Content-Type: application/json; charset=utf-8
Description: openapi获取组织列表(返回对象10M左右,加载慢,建议使用接口3获取组织数据)
请求参数:无
请求示例:
import { services } from '@cic/mp-support';
services.getBranchOrgList()
返回参数说明:
| Field | Type | Description | Since | |
| branchOrgCode | string | 组织编码 | - | |
| branchOrgName | string | 组织名称 | - | |
| branchOrgStatus | string | 组织状态 | - | |
| simpleName | string | 组织简称 | - | - |
| branchOrgParentCode | string | 组织上级编码 | - | |
| branchOrgParentName | string | 组织上级名称 | - | |
| branchOrgPath | string | path路径 | - | |
| orgIsFranchise | string | 是否专营机构 | - | |
| orgFranchiseType | string | 专营类型 | - | |
| orgIsSetIssue | string | 是否设立出单组织 | - | |
| orgIsSetBooks | string | 是否设立独立账套 | - | |
| branchOrgType | string | 机构类型:0.经营组织,1.管理组织,2.销售组织 | - | |
| branchOrgState | string | 分支机构状态 | - | |
| branchOrgRegionType | string | 所属地域类型 | - | |
| branchOrgHierarchy | string | 分支机构层级 | - | |
| branchOrgLevel | string | 分支机构级别 | - | |
| isManageOpreation | string | 是否管营一体 | - | |
| provinceCode | string | 所属省 | - | |
| cityCode | string | 所属市 | - | |
| countyCode | string | 所属区 | - |
返回参数示例:📎获取组织列表.json
3、组织数据-获取组织文件缓存数据
URL: services.getOrganizationFileCache
Type: POST
Author: dongyikuan
Content-Type: application/json; charset=utf-8
Description: 获取组织文件缓存数据
请求参数:无
请求示例:
import { services } from '@cic/mp-support';
services.getOrganizationFileCache()
返回参数说明:
| Field | Type | Description | Since | |
| isUseFilePath | boolean | 是否使用此路径 | - | |
| orgFilePath | string | org文件缓存地址(可直接根据地址解析文件内容) | - |
返回参数示例:
{
"orgFilePath": "https://static.property.cic.cn/prod-platform-lamp/support-org/innerprojectft/org-7229460501260419072.json",
"isUseFilePath": true
}
4、标准岗位-获取标准岗位分页列表
URL: services.getStandardPositionList
Type: POST
Author: dongyikuan
Content-Type: application/json; charset=utf-8
Description: openapi获取标准岗位分页列表
请求参数:
| Parameter | Type | Description | Required | Since |
| pageIndex | int32 | 页码 | true | - |
| pageSize | int32 | 每页条数 | true | - |
| standardPositionSearch | string | 标准岗位:编码、名称。【模糊搜索】 | false | - |
| positionSequenceId | string | 岗位序列id | false | - |
| positionSubSequenceId | string | 岗位子序列id | false | - |
| positionLevel | string | 岗位所属机构层级 | false | - |
请求示例:
import { services } from '@cic/mp-support';
services.getStandardPositionList({
pageIndex: 1,
pageSize: 10,
standardPositionSearch: "7r61u4",
positionSequenceId: "55",
positionSubSequenceId: "55",
positionLevel: "55"
})
返回参数说明:
| Field | Type | Description | Since | |
| standardPositionId | string | 标准岗位id | - | |
| standardPositionCode | string | 标准岗位编码 | - | |
| standardPositionName | string | 标准岗位名称 | - | |
| positionLevel | string | 岗位所属机构层级 | - | - |
| standardPositionDescription | string | 标准岗位描述 | - | |
| positionSequenceCode | string | 岗位序列编码 | - | |
| positionSequenceName | string | 岗位序列名称 | - | |
| positionSubSequenceCode | string | 岗位子序列编码 | - | |
| positionSubSequenceName | string | 岗位子序列名称 | - |
返回参数示例:
[
{
"standardPositionId": "55",
"standardPositionCode": "76022",
"standardPositionName": "jake.zboncak",
"standardPositionDescription": "df1bsi",
"positionSequenceCode": "76022",
"positionSequenceName": "jake.zboncak",
"positionSubSequenceCode": "76022",
"positionSubSequenceName": "jake.zboncak",
"positionLevel": "jake.zboncak"
}
]
5、工作岗位-获取工作岗位分页列表
URL: services.getWorkPositionList
Type: POST
Author: dongyikuan
Content-Type: application/json; charset=utf-8
Description: openapi获取工作岗位分页列表
请求参数:
| Parameter | Type | Description | Required | Since |
| pageIndex | int32 | 页码 | true | - |
| pageSize | int32 | 每页条数 | true | - |
| workPositionSearch | string | 工作岗位编码、名称。【模糊搜索】 | false | - |
| branchOrgCode | string | 所属组织编码 | false | - |
| functionId | string | 职能id | false | - |
| standardPositionId | string | 标准岗位id | false | - |
| positionSequenceId | string | 岗位序列id | false | - |
| positionSubSequenceId | string | 岗位子序列id | false | - |
请求示例:
import { services } from '@cic/mp-support';
services.getWorkPositionList({
pageIndex: 1,
pageSize: 10,
workPositionSearch: "i40rp1",
branchOrgCode: "76022",
functionId: "55",
standardPositionId: "55",
positionSequenceId: "55",
positionSubSequenceId: "55"
})
返回参数说明:
| Field | Type | Description | Since |
| workPositionId | string | 工作岗位id | - |
| workPositionCode | string | 工作岗位编码 | - |
| workPositionName | string | 工作岗位名称 | - |
| workPositionDescription | string | 工作岗位描述 | - |
| standardPositionCode | string | 所属标准岗位编码 | - |
| standardPositionName | string | 所属标准岗位名称 | - |
| branchOrgCode | string | 所属组织编码 | - |
| branchOrgName | string | 所属组织名称 | - |
| positionSequenceCode | string | 岗位序列编码 | - |
| positionSequenceName | string | 岗位序列名称 | - |
| positionSubSequenceCode | string | 岗位子序列编码 | - |
| positionSubSequenceName | string | 岗位子序列名称 | - |
返回参数示例:
[
{
"workPositionId": "55",
"workPositionCode": "76022",
"workPositionName": "jake.zboncak",
"workPositionDesc": "yayjzr",
"standardPositionCode": "76022",
"standardPositionName": "jake.zboncak",
"branchOrgCode": "76022",
"branchOrgName": "jake.zboncak",
"positionSequenceCode": "76022",
"positionSequenceName": "jake.zboncak",
"positionSubSequenceCode": "76022",
"positionSubSequenceName": "jake.zboncak"
}
]
6、岗位序列-获取岗位序列列表
URL: services.getPositionSequenceList
Type: POST
Author: dongyikuan
Content-Type: application/json; charset=utf-8
Description: 获取岗位序列列表
请求参数:
| Parameter | Type | Description | Required | Since |
| pageIndex | int32 | 页码 | true | - |
| pageSize | int32 | 每页条数 | true | - |
| positionSequenceSearch | string | 岗位序列编码 or名称【模糊搜索】 | false | - |
请求示例:
import { services } from '@cic/mp-support';
services.getPositionSequenceList({
pageIndex:1,
pageSize:10,
positionSequenceSearch:"序列"
})
返回参数说明:
| Field | Type | Description | Since | |
| positionSequenceId | string | 岗位序列id | - | |
| positionSequenceCode | string | 岗位序列编码 | - | |
| positionSequenceName | string | 岗位序列名称 | - | |
| remark | string | 岗位序列描述 | - | |
| superiorHid | string | 岗位序列上级id(默认是1,目前岗位序列没有上下级) | - |
返回参数示例:
{
"status": 1,
"message": null,
"data": [
{
"positionSequenceId": "c287a799a2d942ea9b664bf2f0092f0c",
"positionSequenceCode": "M",
"positionSequenceName": "管理序列",
"remark": null,
"superiorHid": "1"
},
{
"positionSequenceId": "7935793caee54d738d1fb3faf61c82d9",
"positionSequenceCode": "O",
"positionSequenceName": "运营序列",
"remark": null,
"superiorHid": "1"
},
{
"positionSequenceId": "7706ba9db79b4439a47178d8334a4809",
"positionSequenceCode": "S",
"positionSequenceName": "销售序列",
"remark": null,
"superiorHid": "1"
},
{
"positionSequenceId": "0ad88207def74f658499024e13e6fba5",
"positionSequenceCode": "P",
"positionSequenceName": "专业技术序列",
"remark": null,
"superiorHid": "1"
}
],
"needRetry": false,
"extendInfo": null,
"totalCount": 4,
"pageSize": 10,
"pageIndex": 1,
"digetValues": [],
"digestLog": "-"
}
7、岗位子序列-获取岗位子序列列表
URL: services.getPositionSubSequenceList
Type: POST
Author: dongyikuan
Content-Type: application/json; charset=utf-8
Description: 获取岗位子序列列表
请求参数:
| Parameter | Type | Description | Required | Since |
| pageIndex | int32 | 页码 | true | - |
| pageSize | int32 | 每页条数 | true | - |
| positionSubSequenceSearch | string | 岗位子序列编码 or名称【模糊搜索】 | false | - |
| positionSequenceId | string | 岗位序列id | false | - |
请求示例:
import { services } from '@cic/mp-support';
services.getPositionSubSequenceList({
pageIndex:1,
pageSize:10
})
返回参数说明:
| Field | Type | Description | Since | |
| positionSubSequenceId | string | 岗位子序列id | - | |
| positionSubSequenceCode | string | 岗位子序列编码 | - | |
| positionSubSequenceName | string | 岗位子序列名称 | - | |
| remark | string | 岗位子序列描述 | - | |
| superiorHid | string | 上级岗位序列id | - |
返回参数示例:
{
"status": 1,
"message": null,
"data": [
{
"positionSubSequenceId": "ffaa9d52c40140af8d8624f7382a1945",
"positionSubSequenceCode": "P10",
"positionSubSequenceName": "党建管理",
"remark": null,
"superiorHid": "0ad88207def74f658499024e13e6fba5"
},
{
"positionSubSequenceId": "fdfab303cbef4e62a26e998252ce234f",
"positionSubSequenceCode": "S16",
"positionSubSequenceName": "销售团队管理(直拓团车)",
"remark": null,
"superiorHid": "7706ba9db79b4439a47178d8334a4809"
},
{
"positionSubSequenceId": "fdd5682a870c4289860441254582beb7",
"positionSubSequenceCode": "S13",
"positionSubSequenceName": "销售支持(政保健康)",
"remark": null,
"superiorHid": "7706ba9db79b4439a47178d8334a4809"
},
{
"positionSubSequenceId": "fc3b15c4864f4d44b7dc9861a1d54fab",
"positionSubSequenceCode": "O04",
"positionSubSequenceName": "理赔运营",
"remark": null,
"superiorHid": "7935793caee54d738d1fb3faf61c82d9"
},
{
"positionSubSequenceId": "e97783f5629b4a8fa6a939cc5c974cad",
"positionSubSequenceCode": "S11",
"positionSubSequenceName": "销售展业(综合)",
"remark": null,
"superiorHid": "7706ba9db79b4439a47178d8334a4809"
},
{
"positionSubSequenceId": "dd0087966ed94e99bc1db2def76127ab",
"positionSubSequenceCode": "S03",
"positionSubSequenceName": "销售团队管理(团客)",
"remark": null,
"superiorHid": "7706ba9db79b4439a47178d8334a4809"
},
{
"positionSubSequenceId": "dc4e46202e6747f08df402fbd4a8ec98",
"positionSubSequenceCode": "O05",
"positionSubSequenceName": "综合内勤",
"remark": null,
"superiorHid": "7935793caee54d738d1fb3faf61c82d9"
},
{
"positionSubSequenceId": "d9c1980168c2493fab4b3e5f8bcdf662",
"positionSubSequenceCode": "P09",
"positionSubSequenceName": "人力资源",
"remark": null,
"superiorHid": "0ad88207def74f658499024e13e6fba5"
},
{
"positionSubSequenceId": "d46360cdb9994f45bd7025fced52f08e",
"positionSubSequenceCode": "S08",
"positionSubSequenceName": "销售展业(团客)",
"remark": null,
"superiorHid": "7706ba9db79b4439a47178d8334a4809"
},
{
"positionSubSequenceId": "c8695b71da6047d8a1e4055e26c8c89d",
"positionSubSequenceCode": "P03",
"positionSubSequenceName": "渠道管理",
"remark": null,
"superiorHid": "0ad88207def74f658499024e13e6fba5"
}
],
"needRetry": false,
"extendInfo": null,
"totalCount": 39,
"pageSize": 10,
"pageIndex": 1,
"digetValues": [],
"digestLog": "-"
}