企业微信(WeCom)-办公 icon

企业微信(WeCom)-办公

企业微信办公功能 - 文档、微盘、邮件、日程、待办、会议、直播、打卡、审批、汇报、人事、会议室、紧急通知、公费电话

Actions298

审批 → [审批] 获取审批数据(旧版)

AI-generated

Summary

Retrieve approval data using the legacy WeCom (WeChat Work) approval API by specifying a start and end time to define the query interval, optionally using a pagination token to fetch subsequent records.

Inputs

  • 开始时间 (required) — Start time for the query, specified as a Unix timestamp in seconds. Defines the beginning of the approval data time range to fetch.
  • 结束时间 (required) — End time for the query, specified as a Unix timestamp in seconds. Defines the end of the approval data time range to fetch.
  • 下一条审批单号 — Next approval number for pagination. Used to fetch subsequent pages of results; omit or leave empty for the first request.
  • 请求体(JSON) — Optional JSON object to provide additional request fields, merging with top-level parameters; JSON fields take precedence if duplicated.
  • 查询参数(JSON) — Optional JSON object for additional query parameters in the request.

Output shape

A list of approval data records matching the query parameters within the specified time interval, possibly paginated if a next_spnum token is used.

Requires the corresponding WeCom application to be configured with appropriate permissions for calling the approval API. The operation uses the legacy API endpoint and returns approval data between the given start and end Unix timestamps (in seconds). Pagination is supported via the next_spnum parameter for retrieving additional pages.

Links

Discussion