传智教育-人资V8.0
  1. 社保
传智教育-人资V8.0
  • 首页
    • 首页-展示接口
      GET
    • 首页-消息通知
      GET
  • 人资项目/组织架构-部门
    • 修改-部门详情
      PUT
    • 删除-部门
      DELETE
    • 新增-部门
      POST
    • 获取-部门列表
      GET
    • 获取-部门详情
      GET
    • 获取-部门负责人列表
      GET
  • 人资项目/员工管理
    • 分配-员工-角色
      PUT
    • 批量-下载导入员工模板
      GET
    • 批量-导出员工excel
      GET
    • 批量-导入员工(上传excel)
      POST
    • 新增-员工
      POST
    • 获取-员工列表
      GET
    • 修改-员工-基本信息
      PUT
    • 删除-员工
      DELETE
    • 获取-员工-基本信息
      GET
  • 人资项目/登录
    • 登录
  • 人资项目/角色管理
    • 获取-已启用的角色列表
    • 修改-角色
    • 分配权限-角色
    • 删除-角色
    • 新增-角色
    • 获取-分页查询角色列表
    • 获取-角色详情
  • 人资项目/权限点管理
    • 修改-权限点详情
    • 删除-权限点
    • 新增-权限点
    • 获取-权限点列表
    • 获取-权限点详情
  • 人资项目/用户相关
    • 修改用户密码
    • 获取-用户基本资料
  • 社保
    • 查询企业用户社保列表
      POST
    • 查询企业社保配置信息
      GET
    • 根据用户id查询用户的社保数据
      GET
    • 根据城市id查询参保城市的参保项目
      GET
    • 保存或更新用户社保数据
      PUT
    • 查询当月报表
      GET
    • 制作新报表
      PUT
    • 社保数据归档
      POST
    • 查询社保历史归档列表
      GET
    • 批量-导出社保月份报表
      GET
    • 根据用户id和考勤年月查询用户考勤归档明细
      GET
    • 查询城市列表
      GET
  • 审批
    • 查询审批申请列表
    • 查询审批单的详情数据
    • 查询审批单审批明细
  • 考勤设置管理
    • 保存考勤设置
    • 根据部门id查询考勤设置
    • 根据部门保存考勤加班规则
    • 根据部门查询考勤加班规则
    • 根据部门查询请假规则设置
    • 保存或者更新请假规则
    • 根据部门查询考勤扣款规则
    • 保存考勤扣款规则
  • 考勤管理
    • 归档历史列表
    • 新建考勤报表
    • 月度考勤记录归档
    • 查询考勤数据列表
    • 编辑用户的考勤记录
    • 获取月考勤报表数据
    • 归档历史列表--详情
    • 导入考勤信息
    • 查询用户的考勤状态
    • 批量-导出考勤月份报表
    • 根据用户id和月份查询已归档的考勤明细
  • 薪资配置
    • 获取企业是否设置当月工资
    • 获取企业计薪及津贴设置
    • 保存企业计薪及津贴设置
    • 保存企业工资设置
    • 构造新月份工资报表
  • 薪资管理
    • 查询用户薪资
    • 调薪
    • 员工定薪
    • 根据年月查询企业用户薪资列表
    • 批量-导出工资月份报表
    • 工资数据归档
  • 实战接口
    • 扫码登录
      • pc端-获取加密串-用来生成二维码
      • pc端-获取加密串的状态
    • 更新头像
      • 更新用户头像接口
    • 群发通知
      • 群发通知
      • 获取用户的消息
      • 更新某个消息的状态为已读
      • 删除消息
    • 考勤地图
      • 获取公司经纬度坐标列表
      • 更新公司经纬度列表
  1. 社保

查询企业用户社保列表

开发中
POST
/social_securitys/list
社保
total条件可以去掉?

请求参数

Header 参数
Authorization
string 
可选
默认值:
Bearer {{token}}
Body 参数application/json
page
integer 
页数
可选
pageSize
integer 
每页条数
可选
departmentChecks
array[string]
部门
可选
providentFundChecks
array[string]
公积金城市
可选
socialSecurityChecks
array[string]
社保城市
可选
示例
{
    "page": 0,
    "pageSize": 0,
    "departmentChecks": [
        "string"
    ],
    "providentFundChecks": [
        "string"
    ],
    "socialSecurityChecks": [
        "string"
    ]
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://heimahr.itheima.net/api/social_securitys/list' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
    "page": 0,
    "pageSize": 0,
    "departmentChecks": [
        "string"
    ],
    "providentFundChecks": [
        "string"
    ],
    "socialSecurityChecks": [
        "string"
    ]
}'

返回响应

🟢200成功
application/json
Body
success
boolean 
必需
code
integer 
分页数据
必需
message
string 
必需
data
object 
必需
total
integer 
总条数
必需
rows
array [object {13}] 
分页数据列表
必需
示例
{
    "success": true,
    "code": 10000,
    "message": "操作成功!",
    "data": {
        "total": 17,
        "rows": [
            {
                "id": "1063705482939731968",
                "username": "cgx",
                "mobile": "13800000001",
                "workNumber": "",
                "departmentName": "",
                "timeOfEntry": "2018-11-01",
                "leaveTime": null,
                "participatingInTheCityId": "1084825908823904256",
                "participatingInTheCity": "北京",
                "socialSecurityBase": 10000,
                "providentFundCityId": "1084825908823904256",
                "providentFundCity": "北京",
                "providentFundBase": 10000
            },
            {
                "id": "1063705989926227968",
                "username": "管理员",
                "mobile": "13800000002",
                "workNumber": "9002",
                "departmentName": "总裁办",
                "timeOfEntry": "2018-11-02",
                "leaveTime": null,
                "participatingInTheCityId": "1084825908823904256",
                "participatingInTheCity": "北京",
                "socialSecurityBase": 10000,
                "providentFundCityId": "1084825908823904256",
                "providentFundCity": "北京",
                "providentFundBase": 10000
            },
            {
                "id": "1066370498633486336",
                "username": "孙财",
                "mobile": "13800000003",
                "workNumber": "111",
                "departmentName": "市场部",
                "timeOfEntry": "2018-11-04",
                "leaveTime": null,
                "participatingInTheCityId": "1084825908823904256",
                "participatingInTheCity": "北京",
                "socialSecurityBase": 3388,
                "providentFundCityId": "1084825908823904256",
                "providentFundCity": "北京",
                "providentFundBase": 2277
            },
            {
                "id": "1071632760222810112",
                "username": "罗晓晓",
                "mobile": "13800000004",
                "workNumber": "1111",
                "departmentName": "人事部",
                "timeOfEntry": "2018-12-02",
                "leaveTime": null,
                "participatingInTheCityId": "1084825908823904256",
                "participatingInTheCity": "北京",
                "socialSecurityBase": 5000,
                "providentFundCityId": "1084825908823904256",
                "providentFundCity": "北京",
                "providentFundBase": 5000
            },
            {
                "id": "1074238801330704384",
                "username": "文吉星",
                "mobile": "13400000001",
                "workNumber": "1001",
                "departmentName": "人事部",
                "timeOfEntry": "2018-01-01",
                "leaveTime": null,
                "participatingInTheCityId": "1084825908823904256",
                "participatingInTheCity": "北京",
                "socialSecurityBase": 5900,
                "providentFundCityId": "1084825908823904256",
                "providentFundCity": "北京",
                "providentFundBase": 5900
            },
            {
                "id": "1074238801402007552",
                "username": "巴思慧",
                "mobile": "13400000002",
                "workNumber": "1002",
                "departmentName": "人事部",
                "timeOfEntry": "2018-01-01",
                "leaveTime": null,
                "participatingInTheCityId": null,
                "participatingInTheCity": null,
                "socialSecurityBase": null,
                "providentFundCityId": null,
                "providentFundCity": null,
                "providentFundBase": null
            },
            {
                "id": "1075383133106425856",
                "username": "乔海",
                "mobile": "13500000001",
                "workNumber": "2001",
                "departmentName": "总裁办",
                "timeOfEntry": "2018-01-01",
                "leaveTime": null,
                "participatingInTheCityId": null,
                "participatingInTheCity": null,
                "socialSecurityBase": null,
                "providentFundCityId": null,
                "providentFundCity": null,
                "providentFundBase": null
            },
            {
                "id": "1075383135371350016",
                "username": "董昊空",
                "mobile": "13500000002",
                "workNumber": "2002",
                "departmentName": "总裁办",
                "timeOfEntry": "2018-01-01",
                "leaveTime": null,
                "participatingInTheCityId": null,
                "participatingInTheCity": null,
                "socialSecurityBase": null,
                "providentFundCityId": null,
                "providentFundCity": null,
                "providentFundBase": null
            },
            {
                "id": "1075383135459430400",
                "username": "周乐天",
                "mobile": "13500000003",
                "workNumber": "2003",
                "departmentName": "财务部",
                "timeOfEntry": "2018-01-01",
                "leaveTime": null,
                "participatingInTheCityId": null,
                "participatingInTheCity": null,
                "socialSecurityBase": null,
                "providentFundCityId": null,
                "providentFundCity": null,
                "providentFundBase": null
            },
            {
                "id": "1235396724497268736",
                "username": "吕勇锐",
                "mobile": "13600000001",
                "workNumber": "0001",
                "departmentName": "总裁办",
                "timeOfEntry": "1992-08-04",
                "leaveTime": null,
                "participatingInTheCityId": null,
                "participatingInTheCity": null,
                "socialSecurityBase": null,
                "providentFundCityId": null,
                "providentFundCity": null,
                "providentFundBase": null
            }
        ]
    }
}
修改于 2023-06-08 02:23:43
上一页
获取-用户基本资料
下一页
查询企业社保配置信息
Built with