企业微信(WeCom)-连接微信 icon

企业微信(WeCom)-连接微信

企业微信连接微信功能 - 微信客服、客户联系、家校应用、政民沟通

Actions172

家校应用 → [家校沟通] 创建学生

AI-generated

Summary

Creates a student in the WeCom school application, assigning the student to one or more classes and optionally initiating an invitation.

Inputs

  • 学生 UserID (required) — Unique student ID within the school, 1–64 UTF-8 bytes; must start with a letter or digit and may contain letters, digits, underscores, hyphens, @, and periods.
  • 学生姓名 (required) — Student’s name, 1–32 characters.
  • 班级 ID 列表 (required) — Class IDs for the student, up to 20 positive integers. Separate IDs with commas, Chinese commas, vertical bars, or line breaks.
  • 学生手机号 — Student’s mobile phone number.
  • 是否发起邀请 — Whether to initiate an invitation; defaults to true. Only verified schools can send invitations.

Output shape

A single response item per input item.

The operation creates the student through the school API. The response body follows the WeCom API result; its fields are not specified by the operation properties.

Examples

Example 1: Create student record for class enrollment

Supply the student's UserID and name, a list of one or more class IDs, and optionally a mobile number. Keep invitation enabled (the default) if the verified school should invite the student.

Links

Discussion