import_events
Create or update events in a longitudinal REDCap project using a JSON array, with an option to replace existing events.
Instructions
Import (create or update) events in a longitudinal REDCap project.
Args: data: JSON array of event objects with event_name, arm_num, day_offset, etc. override: If True, existing events not in the import will be deleted.
Returns: Confirmation message with the count of imported events.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| override | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |