Actions12
- Клиенты Actions
- Филиалы Actions
- Группы Actions
Группы → Создать
AI-generatedSummary
Create a new group in Alfa-CRM by specifying its name, branch ID, and optional subject ID, teacher ID, start date, and end date.
Inputs
- name (required) — The name of the group to create.
- branch_id (required) — The ID of the branch the group belongs to.
- subject_id — Optional ID of the subject associated with the group.
- teacher_id — Optional ID of the teacher assigned to the group.
- b_date — Optional start date of the group in DD.MM.YYYY format.
- e_date — Optional end date of the group in DD.MM.YYYY format.
Output shape
a single JSON object representing the created group
Returns the created group's data as provided by the Alfa CRM API under the 'model' field or response root; no pagination or error envelopes beyond standard API error handling.
Examples
Example 1: Create a study group with specified name, branch, subject and teacher IDs, and group start and end dates.
Set 'name' to the group name string, 'branch_id' to the numeric branch ID, optionally set 'subject_id', 'teacher_id', 'b_date', and 'e_date' with appropriate values.