传智教育-人资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. 社保

根据用户id和考勤年月查询用户考勤归档明细

开发中
GET
/social_securitys/historys/archiveDetail/{userId}/{yearMonth}

请求参数

Path 参数
userId
string 
用户ID
必需
示例值:
2
yearMonth
string 
参保年月
必需
示例值:
202301
Header 参数
Authorization
string 
可选
默认值:
Bearer {{token}}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://heimahr.itheima.net/api/social_securitys/historys/archiveDetail/2/202301' \
--header 'Authorization: Bearer '

返回响应

🟢200成功
application/json
Body
success
boolean 
成功标识
必需
code
integer 
成功code,10000成功,其他失败
必需
message
string 
提示信息
必需
data
object 
报文数据
必需
id
integer  | null 
id
必需
archiveId
integer  | null 
归档id
必需
userId
integer 
用户id
必需
username
string 
用户名
必需
timeOfEntry
string 
入职时间
必需
mobile
string 
手机号
必需
idNumber
string  | null 
身份证号
必需
theHighestDegreeOfEducation
string  | null 
学历
必需
openingBank
string 
开户行
必需
bankCardNumber
string 
银行卡
必需
firstLevelDepartment
string 
一级部门
必需
twoLevelDepartment
string 
二级部门
必需
workingCity
string 
工作城市
必需
socialSecurityComputerNumber
string  | null 
社保电脑号
必需
providentFundAccount
string 
公积金账号
必需
leaveDate
null 
离职日期
必需
householdRegistrationType
null 
户籍类型
必需
participatingInTheCity
string  | null 
参保城市
必需
socialSecurityMonth
string  | null 
社保月份
必需
socialSecurityBase
integer  | null 
社保基数
必需
socialSecurity
integer  | number  | null 
社保合计
必需
socialSecurityEnterprise
integer  | number 
社保企业
必需
socialSecurityIndividual
integer  | number 
社保个人
必需
providentFundCity
string  | null 
公积金城市
必需
providentFundMonth
string  | null 
公积金月份
必需
providentFundBase
integer  | null 
公积金基数
必需
accumulationFundEnterpriseBase
integer  | null 
公积金企业基数
必需
proportionOfProvidentFundEnterprises
number  | integer  | null 
公积金企业比例
必需
individualBaseOfProvidentFund
integer  | null 
公积金个人基数
必需
personalRatioOfProvidentFund
number  | integer  | null 
公积金个人比例
必需
totalProvidentFund
integer  | number  | null 
公积金合计
必需
providentFundEnterprises
integer  | number 
公积金企业
必需
providentFundIndividual
integer  | number 
公积金个人
必需
pensionEnterpriseBase
null 
养老企业基数
必需
proportionOfPensionEnterprises
null 
养老企业比例
必需
pensionEnterprise
null 
养老企业
必需
personalPensionBase
null 
养老个人基数
必需
personalPensionRatio
null 
养老个人比例
必需
oldAgeIndividual
null 
养老个人
必需
unemploymentEnterpriseBase
null 
失业企业基数
必需
proportionOfUnemployedEnterprises
null 
失业企业比例
必需
unemployedEnterprise
null 
失业企业
必需
theNumberOfUnemployedIndividuals
null 
失业个人基数
必需
percentageOfUnemployedIndividuals
null 
失业个人比例
必需
unemployedIndividual
null 
失业个人
必需
medicalEnterpriseBase
null 
医疗企业基数
必需
proportionOfMedicalEnterprises
null 
医疗企业比例
必需
medicalEnterprise
null 
医疗企业
必需
medicalPersonalBase
null 
医疗个人基数
必需
medicalPersonalRatio
null 
医疗个人比例
必需
medicalIndividual
null 
医疗个人
必需
baseOfIndustrialInjuryEnterprises
null 
工伤企业基数
必需
proportionOfIndustrialInjuryEnterprises
null 
工伤企业比例
必需
industrialInjuryEnterprise
null 
工伤企业
必需
fertilityEnterpriseBase
null 
生育企业基数
必需
proportionOfFertilityEnterprises
null 
生育企业比例
必需
childbearingEnterprise
null 
生育企业
必需
baseOfSeriousIllness
null 
大病企业基数
必需
proportionOfSeriouslyIllEnterprises
null 
大病企业比例
必需
bigDiseaseEnterprise
null 
大病企业
必需
personalBaseOfSeriousIllness
null 
大病个人基数
必需
personalProportionOfSeriousIllness
null 
大病个人比例
必需
aPersonOfGreatDisease
string 
大病个人
必需
providentFundNotes
string  | null 
公积金备注
必需
socialSecurityNotes
string  | null 
社保备注
必需
yearsMonth
null 
社保年月
必需
示例
{
  "success": true,
  "code": 0,
  "message": "string",
  "data": {
    "id": 0,
    "archiveId": 0,
    "userId": 0,
    "username": "string",
    "timeOfEntry": "string",
    "mobile": "string",
    "idNumber": "string",
    "theHighestDegreeOfEducation": "string",
    "openingBank": "string",
    "bankCardNumber": "string",
    "firstLevelDepartment": "string",
    "twoLevelDepartment": "string",
    "workingCity": "string",
    "socialSecurityComputerNumber": "string",
    "providentFundAccount": "string",
    "leaveDate": null,
    "householdRegistrationType": null,
    "participatingInTheCity": "string",
    "socialSecurityMonth": "string",
    "socialSecurityBase": 0,
    "socialSecurity": 0,
    "socialSecurityEnterprise": 0,
    "socialSecurityIndividual": 0,
    "providentFundCity": "string",
    "providentFundMonth": "string",
    "providentFundBase": 0,
    "accumulationFundEnterpriseBase": 0,
    "proportionOfProvidentFundEnterprises": 0,
    "individualBaseOfProvidentFund": 0,
    "personalRatioOfProvidentFund": 0,
    "totalProvidentFund": 0,
    "providentFundEnterprises": 0,
    "providentFundIndividual": 0,
    "pensionEnterpriseBase": null,
    "proportionOfPensionEnterprises": null,
    "pensionEnterprise": null,
    "personalPensionBase": null,
    "personalPensionRatio": null,
    "oldAgeIndividual": null,
    "unemploymentEnterpriseBase": null,
    "proportionOfUnemployedEnterprises": null,
    "unemployedEnterprise": null,
    "theNumberOfUnemployedIndividuals": null,
    "percentageOfUnemployedIndividuals": null,
    "unemployedIndividual": null,
    "medicalEnterpriseBase": null,
    "proportionOfMedicalEnterprises": null,
    "medicalEnterprise": null,
    "medicalPersonalBase": null,
    "medicalPersonalRatio": null,
    "medicalIndividual": null,
    "baseOfIndustrialInjuryEnterprises": null,
    "proportionOfIndustrialInjuryEnterprises": null,
    "industrialInjuryEnterprise": null,
    "fertilityEnterpriseBase": null,
    "proportionOfFertilityEnterprises": null,
    "childbearingEnterprise": null,
    "baseOfSeriousIllness": null,
    "proportionOfSeriouslyIllEnterprises": null,
    "bigDiseaseEnterprise": null,
    "personalBaseOfSeriousIllness": null,
    "personalProportionOfSeriousIllness": null,
    "aPersonOfGreatDisease": "string",
    "providentFundNotes": "string",
    "socialSecurityNotes": "string",
    "yearsMonth": null
  }
}
上一页
批量-导出社保月份报表
下一页
查询城市列表
Built with