企业微信(WeCom)-办公 icon

企业微信(WeCom)-办公

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

Actions259

审批 → [审批模板] 创建审批模板

AI-generated

Summary

Create a WeCom approval template by supplying its name and either a complete template content object or controls built from the form. Optional extra JSON adds or overrides top-level template fields.

Inputs

  • 模板名称 (required) — Template name text; the UI description specifies a maximum of 40 characters.
  • 名称语言 — Language for the template name: Chinese (zh_CN, default) or English (en).
  • 模板控件 — Add controls with unique IDs in the “control type-number” format and titles that do not repeat within the template. Common settings include placeholder, required and print behavior; control-specific options cover selectors, dates, contacts, files, date ranges, locations, related approvals, and custom control configuration JSON.
  • 模板控件内容JSON — Complete template_content object. A non-empty object takes precedence over controls built with the form; an empty object uses the form controls.
  • 扩展请求JSON — Additional top-level request fields, merged with the form values. JSON values take precedence when a field name is repeated.

Output shape

A single API response item for each input item.

The source pack shows only the approval executor’s function signatures, not its implementation body, so the precise API response fields and any response envelope behavior are not visible.

Links

Discussion