- 首页
- 人资项目/组织架构-部门
- 人资项目/员工管理
- 人资项目/登录
- 人资项目/角色管理
- 人资项目/权限点管理
- 人资项目/用户相关
- 社保
- 审批
- 考勤设置管理
- 考勤管理
- 薪资配置
- 薪资管理
- 实战接口
保存企业计薪及津贴设置
开发中
POST
/salarys/settings
/salarys/settings
请求参数
Header 参数
Authorization
string
可选
默认值:
Bearer {{token}}
Body 参数application/json
socialSecurityType
integer
社保自然月
subsidyName
string
津贴方案名称
subsidyRemark
string
津贴备注
transportationSubsidyScheme
integer
交通补贴计算类型
transportationSubsidyAmount
integer
交通补贴金额
communicationSubsidyScheme
integer
通讯补贴计算类型 1 : 日 ,3 : 月
communicationSubsidyAmount
integer
通讯补贴金额
lunchAllowanceScheme
integer
午餐补贴计算类型
lunchAllowanceAmount
integer
午餐补贴金额
housingSubsidyScheme
integer
住房补助计算类型
housingSubsidyAmount
integer
住房补助金额
taxCalculationType
integer
计税方式
示例
{
"socialSecurityType": 0,
"subsidyName": "string",
"subsidyRemark": "string",
"transportationSubsidyScheme": 0,
"transportationSubsidyAmount": 0,
"communicationSubsidyScheme": 0,
"communicationSubsidyAmount": 0,
"lunchAllowanceScheme": 0,
"lunchAllowanceAmount": 0,
"housingSubsidyScheme": 0,
"housingSubsidyAmount": 0,
"taxCalculationType": 0
}
示例代码
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/salarys/settings' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"socialSecurityType": 0,
"subsidyName": "string",
"subsidyRemark": "string",
"transportationSubsidyScheme": 0,
"transportationSubsidyAmount": 0,
"communicationSubsidyScheme": 0,
"communicationSubsidyAmount": 0,
"lunchAllowanceScheme": 0,
"lunchAllowanceAmount": 0,
"housingSubsidyScheme": 0,
"housingSubsidyAmount": 0,
"taxCalculationType": 0
}'
返回响应
🟢200成功
application/json
Body
success
boolean
必需
code
integer
必需
message
string
必需
data
null
必需
示例
{
"success": true,
"code": 10000,
"message": "操作成功!",
"data": null
}
修改于 2023-06-09 06:14:22