This call returns the task ID associated with the import ID that you specify. In a future step, you can use that task ID to monitor the progress of the task.

The execution of an import, like any other action, such as an export, a process, or a delete, is a task you POST onto the server.  This returns a task ID you will need for a subsequent step.

POST

https://api.anaplan.com/2/0/workspaces/{workspaceID}/models/{modelID}/imports/{importID}/tasks

ParameterDescription
AnaplanAuthToken:{token}Your Anaplan authentication token value.
workspaceIDThe workspace ID
modelIDThe model ID
importIDThe import ID obtained in the pervious step.
localeSet to set to -d '{"localeName": "en_US"}'

curl -X POST \ https://api.anaplan.com/2/0/workspaces/0a800b00e0000000f000001eab0d0000/models/F1111111C11111111B11111F1111E11F/imports/112000000007/tasks \
-H 'authorization: AnaplanAuthToken {token}' \
-H "Content-Type:application/json" \
-d '{"localeName": "en_US"}'

{

   "meta":{

      "schema":"https://api.anaplan.com/2/0/models/F1111111C11111111B11111F1111E11F/objects/task"

   },

   "status":{

      "code":200,

      "message":"Success"

   },

   "task":{

      "taskId":"16605AE88D1D46EDB88FD12DFBA867A9",

      "taskState":"NOT_STARTED",

      "creationTime":1571258416552

   }

}