- 首页
- 人资项目/组织架构-部门
- 人资项目/员工管理
- 人资项目/登录
- 人资项目/角色管理
- 人资项目/权限点管理
- 人资项目/用户相关
- 社保
- 审批
- 考勤设置管理
- 考勤管理
- 薪资配置
- 薪资管理
- 实战接口
根据用户id查询用户的社保数据
开发中
GET
/social_securitys/{id}
/social_securitys/{id}
请求参数
Path 参数
id
string
ID
示例值:
1063705482939731968
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/1063705482939731968' \
--header 'Authorization: Bearer '
返回响应
🟢200成功
application/json
Body
success
boolean
成功标识
code
integer
报文code,10000成功,其他失败
message
string
提示信息
data
object
查询个人社保详情
userSocialSecurity
object
个人社保信息
user
object
用户对象
示例
{
"success": true,
"code": 10000,
"message": "操作成功!",
"data": {
"userSocialSecurity": {
"userId": "1063705482939731968",
"enterprisesPaySocialSecurityThisMonth": 1,
"enterprisesPayTheProvidentFundThisMonth": 1,
"participatingInTheCityId": "1084825908823904256",
"socialSecurityType": 1,
"householdRegistrationType": 1,
"socialSecurityBase": 10000,
"industrialInjuryRatio": 0.3,
"socialSecurityNotes": "6432",
"providentFundCityId": "1084825908823904256",
"providentFundBase": 10000,
"enterpriseProportion": 0.12,
"personalProportion": 0.12,
"enterpriseProvidentFundPayment": 1200,
"personalProvidentFundPayment": 1200,
"providentFundNotes": null,
"lastModifyTime": "2019-07-12T17:49:40.000+0000",
"socialSecuritySwitchUpdateTime": "2019-07-12T09:01:13.000+0000",
"providentFundSwitchUpdateTime": "2019-07-12T09:01:18.000+0000",
"householdRegistration": null,
"participatingInTheCity": "北京",
"providentFundCity": "北京"
},
"user": {
"id": "1063705482939731968",
"mobile": "13800000001",
"username": "cgx",
"password": "88012a09484c94fcec9e65b2377c44b9",
"enableState": null,
"createTime": "2018-11-17T16:08:44.000+0000",
"companyId": "",
"companyName": "",
"departmentId": "",
"timeOfEntry": "2018-11-01T08:00:00.000+0000",
"formOfEmployment": 1,
"workNumber": "",
"formOfManagement": null,
"workingCity": null,
"correctionTime": "2018-11-01T00:00:00.000+0000",
"inServiceStatus": 0,
"departmentName": "",
"roleIds": [],
"staffPhoto": null
}
}
}
修改于 2023-05-10 07:36:02