Use this to get a list of import tasks.

This helps an integration review recent or active executions and identify the task that should be monitored.

GET

/workspaces/{workspaceId}/models/{modelId}/imports/{importId}/tasks

ParameterDescription
workspaceId
  • Required
  • Type: string
  • Description: The workspace ID
  • Example: 8a8b8c8d8e8f8g8i
modelId
  • Required
  • Type: string
  • Description: The model ID
  • Example: 75A40874E6B64FA3AE0743278996850F
importId
  • Required
  • Type: number
  • Description: The import ID
  • Example: 112000000007

curl -X GET \
https://api.anaplan.com/2/0/workspaces/{workspaceId}/models/{modelId}/imports/{importId}/tasks \
-H 'authorization: AnaplanAuthToken {anaplan_auth_token}' \
-H 'Content-Type:application/json'

The IDs are sorted in ascending order of creation, identified by the creationTime value.

{
  "meta": {
    "schema": "https://api.anaplan.com/2/0/models/F1111111C11111111B11111F1111E11F/objects/task"
  },
  "status": {
    "code": 200,
    "message": "Success"
  },
  "task": {
    "taskId": "9530E1C5CAEB440DAC4E669178787160",
    "taskState": "COMPLETE",
    "creationTime": 1535145471641
  }
}