企业微信(WeCom)-基础 icon

企业微信(WeCom)-基础

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

Actions248

第三方应用接口调用许可 → [接口许可] 创建续期任务

AI-generated

Summary

Create a WeCom license renewal task for one or more enterprise accounts. Supply the provider access token, enterprise ID, and account list; optionally reuse a task ID to associate further accounts with an existing task.

Inputs

  • Provider Access Token (required) — The app provider's provider_access_token.
  • 企业ID (required) — ID of the enterprise whose license accounts are being renewed.
  • 续期账号输入方式 — Choose to enter accounts individually or provide them as a JSON array.
  • 续期账号列表 (required) — In individual-entry mode, add 1–1000 accounts. Each needs a WeCom member UserID and a type: 1 for a basic account or 2 for an interoperable account.
  • 续期账号列表(JSON) (required) — In JSON mode, provide an array of 1–1000 objects, each containing userid and type (1 for basic, 2 for interoperable).
  • 任务ID(可选) — Omit to create a new task. Provide a jobid returned by an earlier call to associate additional user IDs with that task. A task can be associated with up to 1,000,000 basic accounts and 1,000,000 interoperable accounts.

Output shape

A single API response item

The response includes the result of the task creation request; the operation-scoped source view does not expose its exact fields.

Links

Discussion