public class Group extends Object
| 限定符和类型 | 方法和说明 | ||||
|---|---|---|---|---|---|
CreateGroupResp |
create(CreateGroupReq req)
创建或修改考勤组,考勤组,是对部门或者员工在某个特定场所及特定时间段内的出勤情况(包括上下班、迟到、早退、病假、婚假、丧假、公休、工作时间、加班情况等)的一种规则设定。
|
||||
CreateGroupResp |
create(CreateGroupReq req,
RequestOptions reqOptions)
创建或修改考勤组,考勤组,是对部门或者员工在某个特定场所及特定时间段内的出勤情况(包括上下班、迟到、早退、病假、婚假、丧假、公休、工作时间、加班情况等)的一种规则设定。
|
||||
DeleteGroupResp |
delete(DeleteGroupReq req)
删除考勤组,通过考勤组 ID
删除考勤组。
|
||||
DeleteGroupResp |
delete(DeleteGroupReq req,
RequestOptions reqOptions)
删除考勤组,通过考勤组 ID
删除考勤组。
|
||||
GetGroupResp |
get(GetGroupReq req)
按 ID 查询考勤组,通过考勤组 ID 获取考勤组详情。
|
||||
GetGroupResp |
get(GetGroupReq req,
RequestOptions reqOptions)
按 ID 查询考勤组,通过考勤组 ID 获取考勤组详情。
|
||||
ListGroupResp |
list(ListGroupReq req)
查询所有考勤组,翻页获取所有考勤组列表。
|
||||
ListGroupResp |
list(ListGroupReq req,
RequestOptions reqOptions)
查询所有考勤组,翻页获取所有考勤组列表。
|
||||
ListUserGroupResp |
listUser(ListUserGroupReq req)
查询考勤组下所有成员,查询指定考勤组下的所有成员
官网API文档链接:
ListUserGroupResplistUser(ListUserGroupReq req,
RequestOptions reqOptions)
查询考勤组下所有成员,查询指定考勤组下的所有成员
官网API文档链接:
SearchGroupRespsearch(SearchGroupReq req)
按名称查询考勤组,按考勤组名称查询考勤组摘要信息。
| ||||
SearchGroupResp |
search(SearchGroupReq req,
RequestOptions reqOptions)
按名称查询考勤组,按考勤组名称查询考勤组摘要信息。
|
public Group(Config config)
public CreateGroupResp create(CreateGroupReq req, RequestOptions reqOptions) throws Exception
注意:此接口在修改时为数据覆盖,需要传入全部的考勤组信息;;出于安全考虑,如果传入操作人,该接口只允许修改操作人有权限的考勤组。 ;
Exceptionpublic CreateGroupResp create(CreateGroupReq req) throws Exception
注意:此接口在修改时为数据覆盖,需要传入全部的考勤组信息;;出于安全考虑,如果传入操作人,该接口只允许修改操作人有权限的考勤组。 ;
Exceptionpublic DeleteGroupResp delete(DeleteGroupReq req, RequestOptions reqOptions) throws Exception
Exceptionpublic DeleteGroupResp delete(DeleteGroupReq req) throws Exception
Exceptionpublic GetGroupResp get(GetGroupReq req, RequestOptions reqOptions) throws Exception
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=get&project=attendance&resource=group&version=v1 ;
Exceptionpublic GetGroupResp get(GetGroupReq req) throws Exception
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=get&project=attendance&resource=group&version=v1 ;
Exceptionpublic ListGroupResp list(ListGroupReq req, RequestOptions reqOptions) throws Exception
Exceptionpublic ListGroupResp list(ListGroupReq req) throws Exception
Exceptionpublic ListUserGroupResp listUser(ListUserGroupReq req, RequestOptions reqOptions) throws Exception
Exceptionpublic ListUserGroupResp listUser(ListUserGroupReq req) throws Exception
Exceptionpublic SearchGroupResp search(SearchGroupReq req, RequestOptions reqOptions) throws Exception
该接口依赖的数据和考勤组主数据间存在数据同步延时(正常数据同步 2 秒以内),因此在使用该接口时需注意评估数据延迟潜在风险。 ;
Exceptionpublic SearchGroupResp search(SearchGroupReq req) throws Exception
该接口依赖的数据和考勤组主数据间存在数据同步延时(正常数据同步 2 秒以内),因此在使用该接口时需注意评估数据延迟潜在风险。 ;
ExceptionCopyright © 2026. All rights reserved.