企业微信(WeCom)-基础 icon

企业微信(WeCom)-基础

企业微信基础功能 - 通讯录、应用消息、群聊、消息推送、企业互联、素材、系统、电子发票、第三方应用授权、接口调用许可、收银台、对外收款、小程序对外收款、企业红包/向员工付款、数据与智能专区、会话内容存档、推广二维码、账号ID、安全管理

Actions248

第三方应用接口调用许可 → [接口许可] 创建多企业新购任务

AI-generated

Summary

Create a WeCom third-party application license task for purchasing accounts for multiple enterprises. Provide each enterprise’s ID and purchase quantities and duration, then optionally reuse a job ID to associate additional enterprise purchase details with the same task.

Inputs

  • Provider Access Token (required) — The application provider’s provider_access_token, used to call the license API.
  • Enterprise purchase information (required) — Choose form entry or a JSON array. Supply 1–10 enterprise entries, each with a corpid. Optional fields specify base account count, external contact account count, months, days, and auto activation status. Form defaults are 0 for both account counts, 1 month, 0 days, and auto activation enabled. JSON accepts base_count, external_contact_count, months, days, and auto_active_status.
  • Task ID — Provide a jobid to associate these purchase details with an existing task; omit it to create a new task.

Output shape

A single API response item

The source pack only shows the operation’s function signature, so the response fields and whether it includes the created job ID are not established here.

Links

Discussion