update_assignment
Update an existing assignment group by replacing its definition and all time slots. Provide activity ID, group ID, planning list, and recursive group.
Instructions
Update an existing assignment group and its time slots.
Replaces the group definition and all its slots. Use get_activity first to find the group ID (update_assignement_id). The planning_list and recursive_group formats are identical to add_assignment, but the group id and slot ids should be set to the existing values (non-zero).
Args: id_activity: Activity ID update_assignement_id: Existing group ID to update planning_list: JSON string — full slot list (same format as add_assignment) recursive_group: JSON string — updated group definition (same format, id = group ID)
Returns: JSON string — server response with updated slot IDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id_activity | Yes | ||
| planning_list | Yes | ||
| recursive_group | Yes | ||
| update_assignement_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |