public class Instance extends Object
| 限定符和类型 | 方法和说明 | ||||
|---|---|---|---|---|---|
AddCcInstanceResp |
addCc(AddCcInstanceReq req)
抄送审批实例,调用该接口将当前审批实例抄送给指定用户。
|
||||
AddCcInstanceResp |
addCc(AddCcInstanceReq req,
RequestOptions reqOptions)
抄送审批实例,调用该接口将当前审批实例抄送给指定用户。
|
||||
AddSignInstanceResp |
addSign(AddSignInstanceReq req)
,
官网API文档链接:
AddSignInstanceRespaddSign(AddSignInstanceReq req,
RequestOptions reqOptions)
,
官网API文档链接:
CancelInstanceRespcancel(CancelInstanceReq req)
撤回审批实例,如果企业管理员在审批后台的某一审批定义的 **更多设置** 中,勾选了 **允许撤销审批中的申请** 或者 **允许撤销 x
天内通过的审批**,则在符合撤销规则的情况下,你可以调用本接口将指定提交人的审批实例撤回。
| ||||
CancelInstanceResp |
cancel(CancelInstanceReq req,
RequestOptions reqOptions)
撤回审批实例,如果企业管理员在审批后台的某一审批定义的 **更多设置** 中,勾选了 **允许撤销审批中的申请** 或者 **允许撤销 x
天内通过的审批**,则在符合撤销规则的情况下,你可以调用本接口将指定提交人的审批实例撤回。
|
||||
CcInstanceResp |
cc(CcInstanceReq req)
抄送审批实例,调用该接口将当前审批实例抄送给指定用户。
|
||||
CcInstanceResp |
cc(CcInstanceReq req,
RequestOptions reqOptions)
抄送审批实例,调用该接口将当前审批实例抄送给指定用户。
|
||||
CreateInstanceResp |
create(CreateInstanceReq req)
创建审批实例,调用本接口使用指定审批定义 Code 创建一个审批实例,接口调用者需对审批定义的表单有详细了解,按照定义的表单结构,将表单 Value 通过本接口传入。
|
||||
CreateInstanceResp |
create(CreateInstanceReq req,
RequestOptions reqOptions)
创建审批实例,调用本接口使用指定审批定义 Code 创建一个审批实例,接口调用者需对审批定义的表单有详细了解,按照定义的表单结构,将表单 Value 通过本接口传入。
|
||||
DetailInstanceResp |
detail(DetailInstanceReq req)
获取单个审批实例详情,通过审批实例 Code 获取指定审批实例的详细信息,包括审批实例的名称、创建时间、发起审批的用户、状态以及任务列表等信息。
|
||||
DetailInstanceResp |
detail(DetailInstanceReq req,
RequestOptions reqOptions)
获取单个审批实例详情,通过审批实例 Code 获取指定审批实例的详细信息,包括审批实例的名称、创建时间、发起审批的用户、状态以及任务列表等信息。
|
||||
GetInstanceResp |
get(GetInstanceReq req)
获取单个审批实例详情,通过审批实例 Code 获取指定审批实例的详细信息,包括审批实例的名称、创建时间、发起审批的用户、状态以及任务列表等信息。
|
||||
GetInstanceResp |
get(GetInstanceReq req,
RequestOptions reqOptions)
获取单个审批实例详情,通过审批实例 Code 获取指定审批实例的详细信息,包括审批实例的名称、创建时间、发起审批的用户、状态以及任务列表等信息。
|
||||
InitiatedInstanceResp |
initiated(InitiatedInstanceReq req)
获取用户已发起审批列表,以用户身份获取用户已发起的审批列表,与飞书中审批->审批中心->已发起一致
官网API文档链接:
InitiatedInstanceRespinitiated(InitiatedInstanceReq req,
RequestOptions reqOptions)
获取用户已发起审批列表,以用户身份获取用户已发起的审批列表,与飞书中审批->审批中心->已发起一致
官网API文档链接:
ListInstanceResplist(ListInstanceReq req)
批量获取审批实例 ID,根据审批定义的 approval_code 批量获取审批实例的 instance_code,用于拉取企业下某个审批定义的全部审批实例。
| ||||
ListInstanceResp |
list(ListInstanceReq req,
RequestOptions reqOptions)
批量获取审批实例 ID,根据审批定义的 approval_code 批量获取审批实例的 instance_code,用于拉取企业下某个审批定义的全部审批实例。
|
||||
PreviewInstanceResp |
preview(PreviewInstanceReq req)
| ||||
QueryInstanceResp |
query(QueryInstanceReq req,
RequestOptions reqOptions)
查询实例列表,该接口通过不同条件查询审批系统中符合条件的审批实例列表。
|
||||
RecallInstanceResp |
recall(RecallInstanceReq req)
撤回审批实例,在符合撤销规则的情况下,你可以调用本接口将**当前用户身份提交的**的审批实例撤回。
|
||||
RecallInstanceResp |
recall(RecallInstanceReq req,
RequestOptions reqOptions)
撤回审批实例,在符合撤销规则的情况下,你可以调用本接口将**当前用户身份提交的**的审批实例撤回。
|
||||
RemindInstanceResp |
remind(RemindInstanceReq req)
发送催办消息,当需要催促审批人审批单据时,通过该接口给审批人发送催办消息
官网API文档链接:
RemindInstanceRespremind(RemindInstanceReq req,
RequestOptions reqOptions)
发送催办消息,当需要催促审批人审批单据时,通过该接口给审批人发送催办消息
官网API文档链接:
SearchCcInstanceRespsearchCc(SearchCcInstanceReq req)
查询抄送列表,该接口通过不同条件查询审批系统中符合条件的审批抄送列表。
| ||||
SearchCcInstanceResp |
searchCc(SearchCcInstanceReq req,
RequestOptions reqOptions)
查询抄送列表,该接口通过不同条件查询审批系统中符合条件的审批抄送列表。
|
||||
SpecifiedRollbackInstanceResp |
specifiedRollback(SpecifiedRollbackInstanceReq req)
退回审批任务,从当前审批任务,退回到已审批的一个或多个任务节点。
|
||||
SpecifiedRollbackInstanceResp |
specifiedRollback(SpecifiedRollbackInstanceReq req,
RequestOptions reqOptions)
退回审批任务,从当前审批任务,退回到已审批的一个或多个任务节点。
|
||||
SubscriptionInstanceResp |
subscription(SubscriptionInstanceReq req)
订阅审批实例状态变更事件,当应用[订阅审批事件](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM)后,对于事件type为[审批实例状态变更事件](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/approval-v4/instance/events/status_changed)的事件;,需要调用该接口指定需要接收通知的审批任务范围,指定后才可以接收到对应范围内的事件。
|
||||
SubscriptionInstanceResp |
subscription(SubscriptionInstanceReq req,
RequestOptions reqOptions)
订阅审批实例状态变更事件,当应用[订阅审批事件](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM)后,对于事件type为[审批实例状态变更事件](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/approval-v4/instance/events/status_changed)的事件;,需要调用该接口指定需要接收通知的审批任务范围,指定后才可以接收到对应范围内的事件。
|
||||
UnsubscriptionInstanceResp |
unsubscription(UnsubscriptionInstanceReq req)
退订审批实例状态变更事件,当不再希望收到任务状态变更事件时,调用此接口,该接口用于撤销[订阅审批实例状态变更事件](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/approval-v4/instance/subscription)中的操作
官网API文档链接:
UnsubscriptionInstanceRespunsubscription(UnsubscriptionInstanceReq req,
RequestOptions reqOptions)
退订审批实例状态变更事件,当不再希望收到任务状态变更事件时,调用此接口,该接口用于撤销[订阅审批实例状态变更事件](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/approval-v4/instance/subscription)中的操作
官网API文档链接:
从类继承的方法 java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Copyright © 2026. All rights reserved. |