- 短链数据
- 技术文档
- 考勤管理系统
- 面试管理
- 1.4.8
- 微信接口
- 1.5.0
- 1.5.1
- 1.5.2
- 1.5.4
- 1.5.5
- 1.5.6
- 支付宝开发
- 0323
- 导出报表数据处理
- 1.5.8(小程序招聘需求模块迭代)
- 1.5.8迭代
- 填鴨
- 1.5.9
- 1.6.0
- 1.6.1
- 灵兔支付系统对接
- 1.6.2
- 引导关注的公众号改为“点点易聘”
- 1.6.3
- 1.6.4-0
- 1.6.4
- 1.6.5 出差功能
- MinIO工具接口
- 1.6.6 自定义页面
- 1.6.6同步部门项目
- MinIo全面普及,历史数据处理
- 1.6.7公出迭代
- 1.6.8
- 根据key批量获取配置POST
- 获取短链GET
- 本地测试接口GET
- 本地测试接口 CopyGET
- 未命名接口GET
- 未命名接口 CopyGET
用户获取考勤规则详情
开发中
GET
/user-clock/getAttendanceRule
对应需求文档 6.2.2
请求参数
Query 参数
userId
integer
用户id
示例值:
1
itemId
integer
项目ID
示例值:
1
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/user-clock/getAttendanceRule?userId=1&itemId=1'
返回响应
🟢200成功
application/json
Body
success
boolean
必需
message
string | null
必需
data
object | null
必需
photo
string | null
头像
userName
string
花名册 姓名
itemInfo
string
必需
userItemId
integer
必需
startClockedRecord
object (ClockedRecordVo)
当日上班打卡记录
endClockedRecord
object (ClockedRecordVo)
下班打卡记录
currentTime
number
当前时间
isLegalHolidays
integer
必需
attendanceRules
array[object (AttendanceRuleVo) {6}]
规则
maxAttendanceTime
integer
必需
workAdvanceTime
integer
必需
workDelayTime
integer
必需
示例
{
"success": true,
"message": null,
"data": {
"photo": "http://dummyimage.com/120x600",
"userName": "夏桂英",
"itemInfo": "23-理赔",
"userItemId": 2,
"currentTime": 1648523399,
"isLegalHolidays": 0,
"maxAttendanceTime": 1020,
"workAdvanceTime": 120,
"workDelayTime": 300,
"startClockedRecord": {
"clockRuleTime": "08:30",
"clockTime": "08:35",
"clockDesc": "超时打卡",
"clockType": 1,
"clockStatus": 0
},
"endClockedRecord": {
"clockRuleTime": "17:30",
"clockTime": "17:40",
"clockDesc": "已打卡",
"clockType": 1,
"clockStatus": 0
},
"attendanceRules": [
{
"ruleId": 98,
"ruleName": "友邦保险",
"clockType": 1,
"timeRules": [
{
"workBeginTime": "06:10:34",
"workEndTime": "21:59:56",
"clockTimeRuleId": 99,
"sort": 1,
"week": "1,2,3"
},
{
"workBeginTime": "12:19:18",
"workEndTime": "20:35:42",
"clockTimeRuleId": 100,
"sort": 2,
"week": "4,5,6"
}
],
"locationRules": [
{
"locationRuleId": 1,
"locationName": "信雅达大厦",
"address": "杭州滨江区江南大道3888",
"longitude": 24,
"latitude": 78,
"distance": 200,
"sort": 1
},
{
"locationRuleId": 2,
"locationName": "滨江工商银行",
"address": "杭州滨江区火炬大道",
"longitude": 35,
"latitude": 6,
"distance": 200,
"sort": 2
}
]
}
]
}
}
修改于 2022-12-14 08:03:19