Once your file is uploaded to the server, use the API to initiate the import action in Anaplan.
To initiate an import action:
- (Optional) Get a list of import actions.
GET https://api.anaplan.com/2/0/workspaces/{workspaceID}/models/{modelID}/imports
- From the import action list, start the appropriate import action.
POST https://api.anaplan.com/2/0/workspaces/{workspaceID}/models/{modelID}/imports/{importID}/tasks
- Check the status of the import action.
GET https://api.anaplan.com/2/0/workspaces/{workspaceID}/models/{modelID}/imports/{importID}/tasks/{taskID}
- Get the metadata for the import action.
GET https://api.anaplan.com/2/0/workspaces/{workspaceID}/models/{modelID}/imports/{importID}
- Check for a dump file containing errors (if any).
GET https://api.anaplan.com/2/0/workspaces/{workspaceID}/models/{modelID}/imports/{importID}/tasks/{taskID}/dump