Once your file is uploaded to the server, use the API to initiate the import action in Anaplan.

To initiate an import action:

  1. (Optional) Get a list of import actions.
    GET https://api.anaplan.com/2/0/workspaces/{workspaceID}/models/{modelID}/imports
  2. From the import action list, start the appropriate import action.
    POST https://api.anaplan.com/2/0/workspaces/{workspaceID}/models/{modelID}/imports/{importID}/tasks
  3. Check the status of the import action.
    GET https://api.anaplan.com/2/0/workspaces/{workspaceID}/models/{modelID}/imports/{importID}/tasks/{taskID}
  4. Get the metadata for the import action.
    GET https://api.anaplan.com/2/0/workspaces/{workspaceID}/models/{modelID}/imports/{importID}
  5. 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

Disclaimer

We update Anapedia regularly to provide the most up-to-date instructions.