run_import
Upload CSV/JSON data to a designated file and execute an import action, with mapping parameters to target specific dimensions like Version.
Instructions
Upload CSV/JSON data to a file, then execute an import action. Use mappingParameters to target a specific dimension (e.g., import into 'Actual' version). Prerequisites: show_imports for importId, show_files for fileId. Check results with get_action_status; download_importdump for failures.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | Yes | Anaplan workspace ID or name | |
| modelId | Yes | Anaplan model ID or name | |
| importId | Yes | Import action ID or name (from show_imports) | |
| fileId | Yes | File ID or name to upload data to (from show_files). Use show_importdetails to find the source file for this import. | |
| data | Yes | CSV or JSON data matching the import's expected column format. Use show_importdetails to check the column mapping. | |
| mappingParameters | No | Runtime mapping parameters for the import (e.g., specify which Version to import into) |