企业微信(WeCom)-办公 icon

企业微信(WeCom)-办公

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

Actions259

审批 → [假期管理] 修改成员假期余额

AI-generated

Summary

Sets a WeCom member’s remaining leave balance for a specified vacation type.

Inputs

  • 成员UserID (required) — The member’s WeCom UserID.
  • 假期配置ID (required) — Vacation configuration ID, available from the get vacation configuration operation; minimum 1.
  • 剩余假期时长 (required) — Remaining leave duration in seconds (0–86,400,000). For hourly leave, use a multiple of 360; for daily leave, use a multiple of 8,640.
  • 假期时间刻度 (required) — Choose daily or hourly leave. Must match the time scale in the vacation configuration.
  • 备注 — Optional note for the change record, up to 200 characters.

Output shape

A single operation result for each input item.

The provided source pack shows the operation entry points only as signatures, so the exact response fields are not visible.

Links

Discussion