- 首页
- 人资项目/组织架构-部门
- 人资项目/员工管理
- 人资项目/登录
- 人资项目/角色管理
- 人资项目/权限点管理
- 人资项目/用户相关
- 社保
- 审批
- 考勤设置管理
- 考勤管理
- 薪资配置
- 薪资管理
- 实战接口
保存考勤设置
开发中
PUT
/cfg/atte
/cfg/atte
请求参数
Header 参数
Authorization
string
可选
默认值:
Bearer {{token}}
Body 参数application/json
id
integer | null
配置ID
companyId
integer
企业id
departmentId
integer
部门ID
morningStartTime
string
上午上班时间
morningEndTime
string
上午下班时间
afternoonStartTime
string
下午上班时间
afternoonEndTime
string
下午下班时间
示例
{
"id": "1230865458989043712",
"companyId": "1",
"departmentId": "1175310929766055936",
"morningStartTime": "01:40",
"morningEndTime": "08:45:00",
"afternoonStartTime": "09:00:00",
"afternoonEndTime": "08:45:00",
"createBy": null,
"createDate": null,
"updateBy": null,
"updateDate": null,
"remarks": null
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://heimahr.itheima.net/api/cfg/atte' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "1230865458989043712",
"companyId": "1",
"departmentId": "1175310929766055936",
"morningStartTime": "01:40",
"morningEndTime": "08:45:00",
"afternoonStartTime": "09:00:00",
"afternoonEndTime": "08:45:00",
"createBy": null,
"createDate": null,
"updateBy": null,
"updateDate": null,
"remarks": null
}'
返回响应
🟢200成功
application/json
Body
success
boolean
必需
code
integer
必需
message
string
必需
data
null
必需
示例
{
"success": true,
"code": 10000,
"message": "操作成功!",
"data": null
}
修改于 2023-06-02 07:08:46