企业微信(WeCom)-办公 icon

企业微信(WeCom)-办公

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

Actions259

打卡 → [打卡规则] 管理打卡规则

AI-generated

Summary

Create, update, or delete WeCom attendance rules. Configure the operation type, then provide the rule settings relevant to that action.

Inputs

  • action (required) — Choose create, update, or delete.
  • groupid (required) — Rule ID required for update and delete.
  • effective_now — Whether the change should take effect immediately.
  • includeBasicFields — For updates, enable to send the form’s basic rule fields along with the rule ID and advanced JSON.
  • Rule settings — For create and update, configure the rule name, check-in method, covered members/departments/tags, exempt members, holiday and non-workday behavior, photo and face checks, alternating check-in method, workdays, shift and allowed check-in times, location and WiFi check-in points. Create also lets you choose the rule type. Defaults are supplied by the form.
  • useAdvancedConfig — Enable advanced JSON configuration for create or update.
  • advancedConfig — JSON object for the full group or group fields. It can include fields such as checkindate, schedulelist, ot_info_v2, and buka_remind, and takes precedence over matching form fields.

Output shape

A single API response item for each input item.

The operation makes a WeCom API request that creates, updates, or deletes a rule. The supplied source pack exposes the rule builder and dispatcher signatures but not their bodies, so the exact response fields are unspecified.

Links

Discussion